From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16782 invoked by alias); 13 Jun 2012 19:00:43 -0000 Received: (qmail 16767 invoked by uid 22791); 13 Jun 2012 19:00:42 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_VF X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 13 Jun 2012 19:00:26 +0000 From: "jsm28 at gcc dot gnu.org" To: glibc-bugs@sources.redhat.com Subject: [Bug stdio/14231] New: stdio-common tests memory requirements Date: Wed, 13 Jun 2012 19:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: stdio X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jsm28 at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2012-06/txt/msg00078.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=14231 Bug #: 14231 Summary: stdio-common tests memory requirements Product: glibc Version: 2.15 Status: NEW Severity: normal Priority: P2 Component: stdio AssignedTo: unassigned@sourceware.org ReportedBy: jsm28@gcc.gnu.org Classification: Unclassified The tests stdio-common/test-vfprintf and stdio-common/bug22 fail if the memory available is limited (e.g. 200MB). This can be reproduced on a system with more memory by: ulimit -d 200000 ulimit -m 200000 ulimit -v 200000 before running the tests (tested x86_64). In the test-vfprintf case, test-vfprintf.out contains file size incorrect for locale C: 99999 instead of 100004 file size incorrect for locale de_DE.ISO-8859-1: 99999 instead of 100004 file size incorrect for locale de_DE.UTF-8: 99999 instead of 100004 file size incorrect for locale ja_JP.EUC-JP: 99999 instead of 100004 and for bug22, bug22.out contains ret = -1 ret = -1 ret = -1 ret = -1 In general the testsuite tries to limit failures to those showing actual problems with glibc functionality that would be expected to work on the given architecture - for example, by testing for functions that may fail with ENOSYS on some systems and exiting tests early and successfully in those cases. (Ideally such tests would have an UNRESOLVED or UNSUPPORTED result different from PASS and FAIL, but the testsuite doesn't support that.) I think the same should apply to allocation failures in these tests that involve stdio code allocating large amounts of memory: the tests should exit successfully in that case. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.