]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: set longer watchdog timeout for timedated 12270/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 10 Apr 2019 17:27:42 +0000 (02:27 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 10 Apr 2019 18:25:08 +0000 (03:25 +0900)
test/TEST-30-ONCLOCKCHANGE/test.sh

index 25709410b987cd5d7c332b9b25a2a5a74fc64d93..ade3c6fa87c7c2f59ce7682e62c05b3d0f9a45b1 100755 (executable)
@@ -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]