1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-02-26 09:57:26 +03:00

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:14:04 +01:00
parent 911efe0fbf
commit 881886ef08

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;