tests: don't run test on incomplete setup
authorEvgeny Vereshchagin <evvers@ya.ru>
Fri, 27 Nov 2015 13:29:51 +0000 (13:29 +0000)
committerEvgeny Vereshchagin <evvers@ya.ru>
Fri, 27 Nov 2015 13:29:51 +0000 (13:29 +0000)
This is a follow-up commit for
https://github.com/systemd/systemd/pull/1937

See https://github.com/systemd/systemd/pull/2030

test/TEST-04-JOURNAL/test.sh

index e37cb7d..6c5b5cf 100755 (executable)
@@ -60,7 +60,7 @@ EOF
         cp test-journal.sh $initdir/
 
         setup_testsuite
-    )
+    ) || return 1
     setup_nspawn_root
 
     ddebug "umount $TESTDIR/root"