]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
udev-test: remove a check for whether the test is run in a container
authorEvgeny Vereshchagin <evvers@ya.ru>
Fri, 9 Nov 2018 02:14:04 +0000 (03:14 +0100)
committerEvgeny Vereshchagin <evvers@ya.ru>
Fri, 9 Nov 2018 02:34:08 +0000 (03:34 +0100)
It's too broad a check that prevents the test from running on Travis CI.

test/udev-test.pl

index 61bd3d703a1ab939683f40493c851aa65d0d9a2a..05b3e1718819fd29a6400da167baf619ae6b643e 100755 (executable)
@@ -1646,13 +1646,6 @@ if ($? >> 8 == 0) {
         exit($EXIT_TEST_SKIP);
 }
 
-# skip the test when running in a container
-system("systemd-detect-virt", "-c", "-q");
-if ($? >> 8 == 0) {
-        print "Running in a container, skipping the test.\n";
-        exit($EXIT_TEST_SKIP);
-}
-
 udev_setup();
 
 my $test_num = 1;