From: Michael Prokop Date: Mon, 2 Jul 2012 12:21:52 +0000 (+0200) Subject: tests/test_debs.sh: verify that autoconfig.functions can be read, otherwise fail X-Git-Tag: v0.9.54~2 X-Git-Url: http://git.grml.org/?p=grml-autoconfig.git;a=commitdiff_plain;h=e984a87819aa7864eb119854f8a74fba673011ff;ds=sidebyside tests/test_debs.sh: verify that autoconfig.functions can be read, otherwise fail If autoconfig.functions can't be parsed (e.g. because of syntax errors) then the test suite returns with exit code 0. --- diff --git a/tests/test_debs.sh b/tests/test_debs.sh index 04b566b..022d241 100755 --- a/tests/test_debs.sh +++ b/tests/test_debs.sh @@ -15,7 +15,7 @@ dpkg() { } test_debs() { - . ../autoconfig.functions + . ../autoconfig.functions || exit 1 CMDLINE='debs' INSTALLED=''