summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2022-10-25 16:10:05 +0200
committerLuca Boccassi <bluca@debian.org>2022-10-25 17:00:26 +0200
commitf028957745b0742699a5fcb78dbb5a3378f534c8 (patch)
tree72cfeadfc57a1533e9e3eb1ceacea7cdcca4c85d
parenttest/test-systemd-tmpfiles.py: do not fail if machine-id is missing (diff)
downloadsystemd-f028957745b0742699a5fcb78dbb5a3378f534c8.tar.xz
systemd-f028957745b0742699a5fcb78dbb5a3378f534c8.zip
udev-test: use passwd instead of machine-id for checks
Much more likely to be present
-rwxr-xr-xtest/udev-test.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/udev-test.pl b/test/udev-test.pl
index 985968d120..3099b5746f 100755
--- a/test/udev-test.pl
+++ b/test/udev-test.pl
@@ -1980,8 +1980,8 @@ EOF
not_exp_links => ["notthere"],
}],
rules => <<EOF
-TEST=="/etc/machine-id", SYMLINK+="there"
-TEST!="/etc/machine-id", SYMLINK+="notthere"
+TEST=="/etc/passwd", SYMLINK+="there"
+TEST!="/etc/passwd", SYMLINK+="notthere"
EOF
},
{