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-40-EXEC-COMMAND-EX | |
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-40-EXEC-COMMAND-EX')
-rwxr-xr-x | test/TEST-40-EXEC-COMMAND-EX/test.sh | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/test/TEST-40-EXEC-COMMAND-EX/test.sh b/test/TEST-40-EXEC-COMMAND-EX/test.sh index eae4e37c96..4ee84d4d35 100755 --- a/test/TEST-40-EXEC-COMMAND-EX/test.sh +++ b/test/TEST-40-EXEC-COMMAND-EX/test.sh @@ -1,20 +1,6 @@ #!/usr/bin/env bash set -e TEST_DESCRIPTION="test ExecXYZEx= service unit dbus hookups" - . $TEST_BASE_DIR/test-functions -test_setup() { - create_empty_image_rootdir - - ( - LOG_LEVEL=5 - eval $(udevadm info --export --query=env --name=${LOOPDEV}p2) - - setup_basic_environment - mask_supporting_services - ) - setup_nspawn_root -} - do_test "$@" 40 |