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-28-PERCENTJ-WANTEDBY/test.sh | |
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-28-PERCENTJ-WANTEDBY/test.sh')
-rwxr-xr-x | test/TEST-28-PERCENTJ-WANTEDBY/test.sh | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/test/TEST-28-PERCENTJ-WANTEDBY/test.sh b/test/TEST-28-PERCENTJ-WANTEDBY/test.sh index 477eb15cbe..09baf22776 100755 --- a/test/TEST-28-PERCENTJ-WANTEDBY/test.sh +++ b/test/TEST-28-PERCENTJ-WANTEDBY/test.sh @@ -5,18 +5,4 @@ RUN_IN_UNPRIVILEGED_CONTAINER=yes . $TEST_BASE_DIR/test-functions -test_setup() { - create_empty_image_rootdir - - # Create what will eventually be our root filesystem onto an overlay - ( - LOG_LEVEL=5 - eval $(udevadm info --export --query=env --name=${LOOPDEV}p2) - - setup_basic_environment - mask_supporting_services - ) - setup_nspawn_root -} - do_test "$@" 28 |