diff options
author | Jim Meyering <meyering@redhat.com> | 2007-11-01 12:06:11 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2007-11-01 12:06:11 +0100 |
commit | 094e533fadd92aa9c488d5c3ad8de11036798126 (patch) | |
tree | 52b97e725f2b0827bf4fc31d974dc340a321f190 /tests/misc/arch | |
parent | accad81d2beca73a1212f09564d36f86492e6c97 (diff) | |
download | coreutils-094e533fadd92aa9c488d5c3ad8de11036798126.tar.xz |
Make the new printf-surprise test more precise.
* tests/test-lib.sh (require_ulimit_): New function.
* tests/misc/printf-surprise: Use ulimit -v to trigger the fixed bug,
and rather than checking printf's exit status (which would go wrong
on FreeBSD 6.1, since their printf(3) function doesn't require
lots of memory in this case) simply test whether it outputs
the first 10 bytes.
Diffstat (limited to 'tests/misc/arch')
0 files changed, 0 insertions, 0 deletions