]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: make directory for drop-in config
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 11 Apr 2019 06:38:32 +0000 (15:38 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 11 Apr 2019 07:58:47 +0000 (09:58 +0200)
Follow-up for a2fbac5875776e9e327f30cf2a8b3070a4c1552a.

test/TEST-30-ONCLOCKCHANGE/test.sh

index ade3c6fa87c7c2f59ce7682e62c05b3d0f9a45b1..a9b3d78d6e49fea75146f355bba0f3daf454aeec 100755 (executable)
@@ -30,6 +30,7 @@ test_setup() {
         ln -fs /dev/null $initdir/etc/systemd/system/systemd-machined.service
 
         # 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