Glenn Washburn
bcb15e011a
tests: A failure of mktemp should cause the test script to exit with code 99
...
A test exiting with code 99 means that there was an error in the test itself
and not a failure in the thing being tested (also known as a hard error).
Signed-off-by: Glenn Washburn <development@efficientek.com >
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com >
2021-10-14 15:00:06 +02:00
Glenn Washburn
5e0a8129ef
tests: Add set -e to missing tests
...
This helps to ensure that error codes do not get ignored.
Signed-off-by: Glenn Washburn <development@efficientek.com >
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com >
2021-10-14 14:39:06 +02:00
Vladimir Serbinenko
a827807a13
Fix shebang for termux.
...
Termux doesn't have a /bin/sh. So we needto use $SHELL.
Keep /bin/sh as much as possible.
2017-05-03 12:49:31 +02:00
Vladimir Serbinenko
5a0c548ba3
Remove bashisms from tests.
...
Those tests don't actually need bash. Just use common shebang.
2017-05-03 12:10:36 +02:00
Andrei Borzenkov
f153fcb5a5
test: consistently use TMPDIR and same name pattern for temp files
2015-01-30 20:31:20 +03:00
Vladimir Serbinenko
87a04a2df6
* tests/test_sha512sum.in: Make it work on emu.
2013-11-07 02:41:09 +01:00
BVK Chaitanya
7994a09a9b
* tests/test_sha512sum.in: New test.
2013-10-26 14:35:35 +02:00