summaryrefslogtreecommitdiff
path: root/test/TEST-30-ONCLOCKCHANGE/test.sh
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-04-11 02:27:42 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-04-11 03:25:08 +0900
commita2fbac5875776e9e327f30cf2a8b3070a4c1552a (patch)
tree5bdf5e8ee24391df673c7e507bb36143049e8fa7 /test/TEST-30-ONCLOCKCHANGE/test.sh
parent70f3336e969424a5105f5b960787a2d219004b00 (diff)
downloadsystemd-a2fbac5875776e9e327f30cf2a8b3070a4c1552a.tar.gz
test: set longer watchdog timeout for timedated
Diffstat (limited to 'test/TEST-30-ONCLOCKCHANGE/test.sh')
-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]