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
master
Luca Boccassi 2 years ago
parent 9a01c6f095
commit bb64bec589
  1. 2
      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

Loading…
Cancel
Save