3 # Test out-of-memory handling.
5 (./test-fprintf-posix2${EXEEXT} 0
7 if test $result != 77 && test $result != 78; then result=1; fi
11 if test $malloc_result = 77; then
12 echo "Skipping test: getrlimit and setrlimit don't work"
16 for arg in 1 2 3 4 5 6
18 ./test-fprintf-posix2${EXEEXT} $arg > /dev/null
20 if test $result = 77; then
21 echo "Skipping test: getrlimit and setrlimit don't work"
24 if test $result != 0; then
29 if test $malloc_result = 78; then
30 echo "Skipping test: getrlimit and setrlimit don't work"