3 TEST_DESCRIPTION
="Job-related tests"
6 .
$TEST_BASE_DIR/test-functions
9 create_empty_image_rootdir
11 # Create what will eventually be our root filesystem onto an overlay
14 eval $
(udevadm info
--export --query=env
--name=${LOOPDEV}p2
)
16 setup_basic_environment
17 mask_supporting_services
19 # setup the testsuite service
20 cat >$initdir/etc
/systemd
/system
/testsuite.service
<<EOF
22 Description=Testsuite service
23 After=multi-user.target
26 ExecStart=/test-jobs.sh
30 # copy the units used by this test
31 cp $TEST_BASE_DIR/{hello.service
,sleep.service
,hello-after-sleep.target
,unstoppable.service
} \
32 $initdir/etc
/systemd
/system
33 cp test-jobs.sh
$initdir/