mirror of
https://github.com/systemd/systemd.git
synced 2026-08-06 16:10:59 +00:00
tests: don't run tests on incomplete setup
This commit is contained in:
@@ -58,7 +58,7 @@ Type=oneshot
|
||||
EOF
|
||||
|
||||
setup_testsuite
|
||||
)
|
||||
) || return 1
|
||||
setup_nspawn_root
|
||||
|
||||
# mask some services that we do not want to run in these tests
|
||||
|
||||
@@ -76,7 +76,7 @@ EOF
|
||||
cat >>$initdir/etc/fstab <<EOF
|
||||
/dev/mapper/varcrypt /var ext3 defaults 0 1
|
||||
EOF
|
||||
)
|
||||
) || return 1
|
||||
setup_nspawn_root
|
||||
|
||||
ddebug "umount $TESTDIR/root/var"
|
||||
|
||||
@@ -63,7 +63,7 @@ EOF
|
||||
cp test-jobs.sh $initdir/
|
||||
|
||||
setup_testsuite
|
||||
)
|
||||
) || return 1
|
||||
setup_nspawn_root
|
||||
|
||||
ddebug "umount $TESTDIR/root"
|
||||
|
||||
Reference in New Issue
Block a user