diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-12-10 16:40:31 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-03-28 11:51:11 +0100 |
commit | 70ce817ccbd18cab761a72d54c0a115f34b4b151 (patch) | |
tree | a2d72fee7ae0d7b22943a49ca28b6e48799f9d6f /test/TEST-46-HOMED | |
parent | test: move TEST-47-* to static files (diff) | |
download | systemd-70ce817ccbd18cab761a72d54c0a115f34b4b151.tar.xz systemd-70ce817ccbd18cab761a72d54c0a115f34b4b151.zip |
test: de-duplicate test_setup() functions
Now we will run setup_nspawn_root() in some case where do don't need to.
Diffstat (limited to 'test/TEST-46-HOMED')
-rwxr-xr-x | test/TEST-46-HOMED/test.sh | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/test/TEST-46-HOMED/test.sh b/test/TEST-46-HOMED/test.sh index 5e87cf6143..877cbfefd0 100755 --- a/test/TEST-46-HOMED/test.sh +++ b/test/TEST-46-HOMED/test.sh @@ -5,22 +5,4 @@ TEST_NO_QEMU=1 . $TEST_BASE_DIR/test-functions -test_setup() { - create_empty_image - mkdir -p $TESTDIR/root - mount ${LOOPDEV}p1 $TESTDIR/root - - ( - LOG_LEVEL=5 - eval $(udevadm info --export --query=env --name=${LOOPDEV}p2) - - setup_basic_environment - mask_supporting_services - ) || return 1 - setup_nspawn_root - - ddebug "umount $TESTDIR/root" - umount $TESTDIR/root -} - do_test "$@" 46 |