LOG_LEVEL=5
eval $(udevadm info --export --query=env --name=${LOOPDEV}p2)
- inst_any /usr/share/zoneinfo/Europe/Kiev
- inst_any /usr/share/zoneinfo/Europe/Berlin
-
setup_basic_environment
mask_supporting_services
-
- # extend the watchdog
- mkdir -p $initdir/etc/systemd/system/systemd-timedated.service.d
- cat >$initdir/etc/systemd/system/systemd-timedated.service.d/watchdog.conf <<EOF
-[Service]
-WatchdogSec=10min
-EOF
-
- # setup the testsuite service
- cat >$initdir/etc/systemd/system/testsuite.service <<EOF
-[Unit]
-Description=Testsuite service
-
-[Service]
-ExecStart=/testsuite.sh
-Type=oneshot
-EOF
- cp testsuite.sh $initdir/
-
- setup_testsuite
)
}
-do_test "$@"
+do_test "$@" 30
install_dir : testdata_dir)
install_subdir('testsuite-28.units',
install_dir : testdata_dir)
+install_subdir('testsuite-30.units',
+ install_dir : testdata_dir)
testsuite08_dir = testdata_dir + '/testsuite-08.units'
install_data('testsuite-08.units/-.mount',
# we want an empty environment
> $initdir/etc/environment
> $initdir/etc/machine-id
+
# set the hostname
echo systemd-testsuite > $initdir/etc/hostname
# fstab
--- /dev/null
+[Service]
+WatchdogSec=10min
--- /dev/null
+[Unit]
+Description=TEST-30-ONCLOCKCHANGE
+
+[Service]
+ExecStart=/usr/lib/systemd/tests/testdata/units/%N.sh
+Type=oneshot