1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-04-28 06:33:36 +00:00
Files
gnulib/tests/test-immutable.sh
Bruno Haible 79264d68fb tests: Set executable bit on more tests.
* tests/test-c-dtoastr.sh: Make executable.
* tests/test-c-ldtoastr.sh: Likewise.
* tests/test-immutable.sh: Likewise.
* tests/test-vasnwprintf-posix2.sh: Likewise.
2023-04-03 21:57:46 +02:00

13 lines
285 B
Bash
Executable File

#!/bin/sh
# Print "Skipping test" if immutability cannot be enforced.
./test-immutable${EXEEXT} 0
if test $? = 77; then exit 77; fi
st=0
for i in 1 2 3 4 ; do
${CHECKER} ./test-immutable${EXEEXT} $i \
|| { echo test-immutable.sh: test case $i failed >&2; st=1; }
done
exit $st