summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-08-09 00:20:49 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-08-09 08:52:42 +0200
commit3178698bb5352989e4bff866641838b1c2a0efcb (patch)
treeed374d3bf01a81585e2235450b1a3f2024a9b518 /test
parentunit: make udev rules really take precedence over tmpfiles (diff)
downloadsystemd-3178698bb5352989e4bff866641838b1c2a0efcb.tar.xz
systemd-3178698bb5352989e4bff866641838b1c2a0efcb.zip
test: also check the ordering between udevd and tmpfiles-setup
Diffstat (limited to 'test')
-rwxr-xr-xtest/units/testsuite-17.00.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/units/testsuite-17.00.sh b/test/units/testsuite-17.00.sh
index 0203af88c4..a72c0fb792 100755
--- a/test/units/testsuite-17.00.sh
+++ b/test/units/testsuite-17.00.sh
@@ -11,6 +11,9 @@ set -o pipefail
assert_in "systemd-tmpfiles-setup-dev.service" "$(systemctl show --property After --value systemd-udevd.service)"
assert_in "systemd-udevd.service" "$(systemctl show --property Before --value systemd-tmpfiles-setup-dev.service)"
+assert_in "systemd-tmpfiles-setup.service" "$(systemctl show --property After --value systemd-udevd.service)"
+assert_in "systemd-udevd.service" "$(systemctl show --property Before --value systemd-tmpfiles-setup.service)"
+
if [[ -f /dev/vfio/vfio ]]; then
assert_in "crw-rw-rw-" "$(stat --format=%A /dev/vfio/vfio)"
fi