tests: don't run tests on incomplete setup

This commit is contained in:
Evgeny Vereshchagin 2015-11-25 17:51:17 +00:00
parent af143e3b69
commit cd949ee734
3 changed files with 3 additions and 3 deletions

View file

@ -58,7 +58,7 @@ Type=oneshot
EOF EOF
setup_testsuite setup_testsuite
) ) || return 1
setup_nspawn_root setup_nspawn_root
# mask some services that we do not want to run in these tests # mask some services that we do not want to run in these tests

View file

@ -76,7 +76,7 @@ EOF
cat >>$initdir/etc/fstab <<EOF cat >>$initdir/etc/fstab <<EOF
/dev/mapper/varcrypt /var ext3 defaults 0 1 /dev/mapper/varcrypt /var ext3 defaults 0 1
EOF EOF
) ) || return 1
setup_nspawn_root setup_nspawn_root
ddebug "umount $TESTDIR/root/var" ddebug "umount $TESTDIR/root/var"

View file

@ -63,7 +63,7 @@ EOF
cp test-jobs.sh $initdir/ cp test-jobs.sh $initdir/
setup_testsuite setup_testsuite
) ) || return 1
setup_nspawn_root setup_nspawn_root
ddebug "umount $TESTDIR/root" ddebug "umount $TESTDIR/root"