2 # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
3 # ex: ts=8 sw=4 sts=4 et filetype=sh
5 TEST_DESCRIPTION
="test CleanUnit"
7 .
$TEST_BASE_DIR/test-functions
10 create_empty_image_rootdir
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
25 ExecStart=/bin/bash -x /testsuite.sh
28 cp testsuite.sh
$initdir/