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
1e047e53ae
tests: add test command file tests
...
This requires access to files in both host and grub image, so
implementing as separate test unit instead of script test was
more easy.
2015-01-30 21:42:46 +03:00