]> git.ipfire.org Git - thirdparty/grub.git/commit
tests: Make setup errors in grub-fs-tester hard errors
authorGlenn Washburn <development@efficientek.com>
Wed, 13 Oct 2021 00:40:00 +0000 (19:40 -0500)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 14 Oct 2021 12:55:11 +0000 (14:55 +0200)
commit579575be384db45cfd0da2f8240d07e3f09372fe
treefef34a7f79931aa9d1d70dcf7ce18ded975494a0
parente024558d468d5ea7c79e93e791fcf51d0d1b3dd2
tests: Make setup errors in grub-fs-tester hard errors

When a test program fails because it failed to setup the test properly, this
does not indicate a failure in what is attempting to be tested because the
test is never run. So exit with a hard error exit status to note this
difference. This will allow easier detection of tests that are not actually
being run and those that are really failing.

Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
tests/util/grub-fs-tester.in