This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug stdio/14231] New: stdio-common tests memory requirements
- From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Wed, 13 Jun 2012 19:00:25 +0000
- Subject: [Bug stdio/14231] New: stdio-common tests memory requirements
- Auto-submitted: auto-generated
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.