]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test-58-repart: use udevadm control instead of creating service drop-in
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 26 Aug 2022 15:51:28 +0000 (00:51 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 27 Aug 2022 06:14:19 +0000 (15:14 +0900)
test/units/testsuite-58.sh

index f7b903c68282c3c662d0119a9210a780693fabed..3c826b0829e499cf8113d6bff0e0d338c55534aa 100755 (executable)
@@ -17,16 +17,7 @@ export PAGER=cat
 seed=750b6cd5c4ae4012a15e7be3c29e6a47
 
 if ! systemd-detect-virt --quiet --container; then
-    mkdir -p /run/systemd/system/systemd-udevd.service.d
-    cat >/run/systemd/system/systemd-udevd.service.d/debug.conf <<EOF
-[Service]
-Environment=SYSTEMD_LOG_LEVEL=debug
-EOF
-
-    systemctl daemon-reload
-    udevadm settle
-    systemctl restart systemd-udevd.service
-    udevadm control --ping
+    udevadm control --log-level debug
 fi
 
 machine="$(uname -m)"