]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: enable debug logging of systemd-udevd
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 25 Oct 2021 20:06:49 +0000 (05:06 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 25 Oct 2021 23:12:10 +0000 (08:12 +0900)
Otherwise, it is hard to debug when the test fails.

test/units/testsuite-64.sh

index 22e11fe05cf815b7e67d8ef865e77660172964c1..0f9cf07e4650381ba32b2e83674da9ab129e1427 100755 (executable)
@@ -639,6 +639,7 @@ testcase_long_sysfs_path() {
 : >/failed
 
 udevadm settle
+udevadm control --log-level debug
 lsblk -a
 
 echo "Check if all symlinks under /dev/disk/ are valid (pre-test)"
@@ -658,6 +659,8 @@ udevadm settle
 echo "Check if all symlinks under /dev/disk/ are valid (post-test)"
 helper_check_device_symlinks
 
+udevadm control --log-level info
+
 systemctl status systemd-udevd
 
 touch /testok