summaryrefslogtreecommitdiffstats
path: root/test/TEST-30-ONCLOCKCHANGE/test.sh
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-12-10 13:45:48 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-03-28 11:46:47 +0100
commit7eeeab205d8066d3516b2bc552ff87a72eab824e (patch)
treeb5c2ffd06ded6930b55b43329502cb096e41e436 /test/TEST-30-ONCLOCKCHANGE/test.sh
parenttest: move TEST-29-UDEV-ID_RENAMING setup to static files (diff)
downloadsystemd-7eeeab205d8066d3516b2bc552ff87a72eab824e.tar.xz
systemd-7eeeab205d8066d3516b2bc552ff87a72eab824e.zip
test: move TEST-30-ONCLOCKCHANGE setup to static files
The two timezone files are now installed in the global setup. I am not too happy about this, but it still seems better than to create a completely separate image just for this.
Diffstat (limited to 'test/TEST-30-ONCLOCKCHANGE/test.sh')
-rwxr-xr-xtest/TEST-30-ONCLOCKCHANGE/test.sh25
1 files changed, 1 insertions, 24 deletions
diff --git a/test/TEST-30-ONCLOCKCHANGE/test.sh b/test/TEST-30-ONCLOCKCHANGE/test.sh
index 9e2c11238c..5b4133202f 100755
--- a/test/TEST-30-ONCLOCKCHANGE/test.sh
+++ b/test/TEST-30-ONCLOCKCHANGE/test.sh
@@ -12,32 +12,9 @@ test_setup() {
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