From: Tom Gundersen Date: Thu, 11 Dec 2014 13:17:35 +0000 (+0100) Subject: tests: udev - assume /etc/machine-id rather than /etc/hosts X-Git-Tag: v219~1062 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=02cd084db7b50a45a76bcdfe03668061bf7c79d6;p=elogind.git tests: udev - assume /etc/machine-id rather than /etc/hosts On todays machines /etc/hosts is not mandatory. /etc/machine-id is though, so let's rely on that instead. This makes the udev tests pass again for me. --- diff --git a/test/udev-test.pl b/test/udev-test.pl index 3e05b6177..d9b796700 100755 --- a/test/udev-test.pl +++ b/test/udev-test.pl @@ -1233,8 +1233,8 @@ EOF devpath => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda", exp_name => "there", rules => <