summaryrefslogtreecommitdiff
path: root/test/TEST-31-DEVICE-ENUMERATION/test.sh
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-12-10 16:40:31 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-03-28 11:51:11 +0100
commit70ce817ccbd18cab761a72d54c0a115f34b4b151 (patch)
treea2d72fee7ae0d7b22943a49ca28b6e48799f9d6f /test/TEST-31-DEVICE-ENUMERATION/test.sh
parentbdfa9657d0aaba7d23757f690265b1665f9ff9ec (diff)
downloadsystemd-70ce817ccbd18cab761a72d54c0a115f34b4b151.tar.gz
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-31-DEVICE-ENUMERATION/test.sh')
-rwxr-xr-xtest/TEST-31-DEVICE-ENUMERATION/test.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/test/TEST-31-DEVICE-ENUMERATION/test.sh b/test/TEST-31-DEVICE-ENUMERATION/test.sh
index b2565e0c96..4fbd38d2d0 100755
--- a/test/TEST-31-DEVICE-ENUMERATION/test.sh
+++ b/test/TEST-31-DEVICE-ENUMERATION/test.sh
@@ -6,16 +6,4 @@ TEST_NO_NSPAWN=1
. $TEST_BASE_DIR/test-functions
QEMU_TIMEOUT=300
-test_setup() {
- create_empty_image_rootdir
-
- (
- LOG_LEVEL=5
- eval $(udevadm info --export --query=env --name=${LOOPDEV}p2)
-
- setup_basic_environment
- mask_supporting_services
- )
-}
-
do_test "$@" 31