]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
tests: Add set -e to missing tests
authorGlenn Washburn <development@efficientek.com>
Wed, 13 Oct 2021 00:39:57 +0000 (19:39 -0500)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 14 Oct 2021 12:39:06 +0000 (14:39 +0200)
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>
tests/grub_cmd_test.in
tests/grub_script_blockarg.in
tests/test_sha512sum.in

index 3399eb2929408570e9dad99db8dbc7215b41aea4..dac6f7d6aa6255573b5a7635800481488752f1e8 100644 (file)
@@ -1,4 +1,5 @@
 #! @BUILD_SHEBANG@
+set -e
 
 # create a randome file
 empty="`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"`" || exit 1
index 6ea9b8c3d87cb2e9fc5693da93cb9885cfdd20e2..134a43b059a1a8181e59c1745596c40a25df3ef8 100644 (file)
@@ -1,4 +1,5 @@
 #! @BUILD_SHEBANG@
+set -e
 
 # Run GRUB script in a Qemu instance
 # Copyright (C) 2010  Free Software Foundation, Inc.
index 027092a8b17f398776e605251fcd8d48b7b4965e..d97b7ae2c57581b5dc3c4d37f5e5f5b6dd0ff8b3 100644 (file)
@@ -1,4 +1,5 @@
 #! @BUILD_SHEBANG@
+set -e
 
 # create a randome file
 file="`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"`" || exit 1