udev-test: remove a check for whether the test is run in a container

It's too broad a check that prevents the test from running on Travis CI.
This commit is contained in:
Evgeny Vereshchagin
2018-11-09 03:34:08 +01:00
parent 911efe0fbf
commit 881886ef08
-7
View File
@@ -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;