mirror of
https://github.com/systemd/systemd
synced 2024-07-22 18:55:10 +00:00
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
This commit is contained in:
parent
9a01c6f095
commit
bb64bec589
|
@ -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…
Reference in a new issue