summaryrefslogtreecommitdiff
path: root/tests/misc/arch
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2007-11-01 12:06:11 +0100
committerJim Meyering <meyering@redhat.com>2007-11-01 12:06:11 +0100
commit094e533fadd92aa9c488d5c3ad8de11036798126 (patch)
tree52b97e725f2b0827bf4fc31d974dc340a321f190 /tests/misc/arch
parentaccad81d2beca73a1212f09564d36f86492e6c97 (diff)
downloadcoreutils-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