mirror of
https://github.com/systemd/systemd.git
synced 2024-12-26 03:22:00 +03:00
51fa85913c
Many tests were also masking systemd-machined.service. But machined should only start when activated, so having it not masked shouldn't be noticable. TEST-25-IMPORT needs it.
23 lines
506 B
Bash
Executable File
23 lines
506 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
TEST_DESCRIPTION="Dropin tests"
|
|
TEST_NO_QEMU=1
|
|
|
|
. $TEST_BASE_DIR/test-functions
|
|
|
|
test_setup() {
|
|
# create the basic filesystem layout
|
|
setup_basic_environment
|
|
mask_supporting_services
|
|
|
|
# import the test scripts in the rootfs and plug them in systemd
|
|
cp testsuite.service $initdir/etc/systemd/system/
|
|
cp test-dropin.sh $initdir/
|
|
setup_testsuite
|
|
|
|
# create dedicated rootfs for nspawn (located in $TESTDIR/nspawn-root)
|
|
setup_nspawn_root
|
|
}
|
|
|
|
do_test "$@"
|