summaryrefslogtreecommitdiff
path: root/test/TEST-01-BASIC
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2020-12-22 17:45:50 +0000
committerLuca Boccassi <bluca@debian.org>2021-01-01 21:33:16 +0000
commitbb64bec589c0f8aa03c1be99fbd9302ee695f196 (patch)
tree35de30dea92b915a19f6f944b9d8e6b3643aedf7 /test/TEST-01-BASIC
parent9a01c6f095aa453984badbf59662ac4f14d19a9f (diff)
downloadsystemd-bb64bec589c0f8aa03c1be99fbd9302ee695f196.tar.gz
test: update test_create_image
Run mask_supporting_services, which was missing, and remove setup_nspawn_root which is now already called outside test_create_image
Diffstat (limited to 'test/TEST-01-BASIC')
-rwxr-xr-xtest/TEST-01-BASIC/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/TEST-01-BASIC/test.sh b/test/TEST-01-BASIC/test.sh
index 58f6cd1414..58ad6f8fd2 100755
--- a/test/TEST-01-BASIC/test.sh
+++ b/test/TEST-01-BASIC/test.sh
@@ -14,12 +14,12 @@ test_create_image() {
(
LOG_LEVEL=5
setup_basic_environment
+ mask_supporting_services
# install tests manually so the test is functional even when -Dinstall-tests=false
mkdir -p $initdir/usr/lib/systemd/tests/testdata/units/
cp -v $(dirname $0)/../units/{testsuite-01,end}.service $initdir/usr/lib/systemd/tests/testdata/units/
)
- setup_nspawn_root
}
do_test "$@" 01