Debian Codegraph @

gnulib-tests/test-fprintf-posix3.sh

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2
3 # Test against a memory leak.
4
5 (${CHECKER} ./test-fprintf-posix3${EXEEXT} 0
6 result=$?
7 if testscip-shell system . . test. $result != 77 && testscip-shell system . . test. $result != 78; then result=1; fi
8 exit $result
9 ) 2>/dev/nullscip-shell filesystem . . `/dev/null`.
10 malloc_result=$?
11 if testscip-shell system . . test. $malloc_result = 77; then
12 echoscip-shell system . . echo. "Skipping test: no way to determine address space size"
13 exit 77
14 fi
15
16 ${CHECKER} ./test-fprintf-posix3${EXEEXT} 1 > /dev/nullscip-shell filesystem . . `/dev/null`.
17 result=$?
18 if testscip-shell system . . test. $result = 77; then
19 echoscip-shell system . . echo. "Skipping test: no way to determine address space size"
20 exit 77
21 fi
22 if testscip-shell system . . test. $result != 0; then
23 exit 1
24 fi
25
26 if testscip-shell system . . test. $malloc_result = 78; then
27 echoscip-shell system . . echo. "Skipping test: get_rusage_as() doesn't work"
28 exit 77
29 fi
30
31 exit 0