udev-test: use passwd instead of machine-id for checks

Much more likely to be present
This commit is contained in:
Luca Boccassi
2022-10-25 16:00:26 +01:00
parent b2d896f059
commit f028957745
+2 -2
View File
@@ -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
},
{