* tests/test-c-stack2.sh: Skip the test-harness self-test
if ‘gcc -fsanitize=undefined’ is in use.
+2020-09-18 Paul Eggert <eggert@cs.ucla.edu>
+
+ c-stack-tests: fix -fsanitize=undefined false alarm
+ * tests/test-c-stack2.sh: Skip the test-harness self-test
+ if ‘gcc -fsanitize=undefined’ is in use.
+
2020-09-17 Paul Eggert <eggert@cs.ucla.edu>
signalblocking: simplify and remove gl_SILENT
exit 77
fi
;;
+ 1)
+ # Dereferencing NULL exits the program with status 1,
+ # so this test doesn't check the c-stack testing harness like it should.
+ # https://lists.gnu.org/r/grep-devel/2020-09/msg00034.html
+ cat t-c-stack2.tmp >&2
+ echo 'skipping test (perhaps gcc -fsanitize=undefined is in use?)'
+ exit 77;;
0) (exit 1); exit 1 ;;
esac
if grep 'program error' t-c-stack2.tmp >/dev/null ; then