]>
git.proxmox.com Git - systemd.git/blob - test/TEST-25-IMPORT/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 importd"
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
19 dracut_install
dd gunzip
mv tar diff
21 # setup the testsuite service
22 cat >$initdir/etc
/systemd
/system
/testsuite.service
<<EOF
24 Description=Testsuite service
27 ExecStart=/testsuite.sh
33 cp testsuite.sh
$initdir/
39 ddebug
"umount $TESTDIR/root"