test: add crashing.sh, verify oncrash:script support

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2022-11-06 13:07:10 +01:00
1 parent 359fb8530e
commit fb86042cb3
4 files changed
+87 -5

No files matched your search

+3 -1
View File
@@ -6,4 +6,6 @@ if [ -n "$baz" ]; then
marker=$baz
fi
echo "$marker" > /tmp/post
echo "$marker" > /tmp/post
echo "EXIT_CODE=$EXIT_CODE" >> /tmp/post
echo "EXIT_STATUS=$EXIT_STATUS" >> /tmp/post