]>
git.ipfire.org Git - thirdparty/systemd.git/blob - test/TEST-23-TYPE-EXEC/test.sh
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 Type=exec"
7 .
$TEST_BASE_DIR/test-functions
11 mkdir
-p $TESTDIR/root
12 mount
${LOOPDEV}p1
$TESTDIR/root
16 eval $
(udevadm info
--export --query=env
--name=${LOOPDEV}p2
)
18 setup_basic_environment
20 # setup the testsuite service
21 cat >$initdir/etc
/systemd
/system
/testsuite.service
<<EOF
23 Description=Testsuite service
26 ExecStart=/testsuite.sh
32 cp testsuite.sh
$initdir/
38 ddebug
"umount $TESTDIR/root"