diff options
author | Luca Boccassi <bluca@debian.org> | 2022-10-25 16:10:05 +0200 |
---|---|---|
committer | Luca Boccassi <bluca@debian.org> | 2022-10-25 17:00:26 +0200 |
commit | f028957745b0742699a5fcb78dbb5a3378f534c8 (patch) | |
tree | 72cfeadfc57a1533e9e3eb1ceacea7cdcca4c85d | |
parent | test/test-systemd-tmpfiles.py: do not fail if machine-id is missing (diff) | |
download | systemd-f028957745b0742699a5fcb78dbb5a3378f534c8.tar.xz systemd-f028957745b0742699a5fcb78dbb5a3378f534c8.zip |
udev-test: use passwd instead of machine-id for checks
Much more likely to be present
-rwxr-xr-x | test/udev-test.pl | 4 |
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 }, { |