]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
udev-test: use passwd instead of machine-id for checks
authorLuca Boccassi <bluca@debian.org>
Tue, 25 Oct 2022 14:10:05 +0000 (15:10 +0100)
committerLuca Boccassi <bluca@debian.org>
Tue, 25 Oct 2022 15:00:26 +0000 (16:00 +0100)
Much more likely to be present

test/udev-test.pl

index 985968d12077573d73740d4576189aa1203a4008..3099b5746fbd11a1f4a9c3cbfd1b7bd83af5ffec 100755 (executable)
@@ -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
         },
         {