summaryrefslogtreecommitdiffstats
path: root/test/TEST-30-ONCLOCKCHANGE
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-04-10 19:27:42 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-04-10 20:25:08 +0200
commita2fbac5875776e9e327f30cf2a8b3070a4c1552a (patch)
tree5bdf5e8ee24391df673c7e507bb36143049e8fa7 /test/TEST-30-ONCLOCKCHANGE
parenttest: set longer timeout for 'udevadm control' (diff)
downloadsystemd-a2fbac5875776e9e327f30cf2a8b3070a4c1552a.tar.xz
systemd-a2fbac5875776e9e327f30cf2a8b3070a4c1552a.zip
test: set longer watchdog timeout for timedated
Diffstat (limited to 'test/TEST-30-ONCLOCKCHANGE')
-rwxr-xr-xtest/TEST-30-ONCLOCKCHANGE/test.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/TEST-30-ONCLOCKCHANGE/test.sh b/test/TEST-30-ONCLOCKCHANGE/test.sh
index 25709410b9..ade3c6fa87 100755
--- a/test/TEST-30-ONCLOCKCHANGE/test.sh
+++ b/test/TEST-30-ONCLOCKCHANGE/test.sh
@@ -29,6 +29,12 @@ test_setup() {
ln -fs /dev/null $initdir/etc/systemd/system/systemd-resolved.service
ln -fs /dev/null $initdir/etc/systemd/system/systemd-machined.service
+ # extend the watchdog
+ 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]