From 02cd084db7b50a45a76bcdfe03668061bf7c79d6 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Thu, 11 Dec 2014 14:17:35 +0100 Subject: [PATCH] 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. --- test/udev-test.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 => <