summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@gmail.com>2020-03-03 15:53:48 -0800
committerAndrei Vagin <avagin@gmail.com>2020-03-04 12:52:13 -0800
commit504c9e14d61a9ca9fa3615290a05471684019ecc (patch)
tree43e45ed82ed1f515ccd9026c82cb91fa8f1d4c8f /test/syscalls
parent844e4d284cddf9795a0db7c38f926fe7b49bb873 (diff)
test/runner: use proper filters for test cases
The benchmark_filter options accepts regex-s, but the gtest-filter option accepts shell-like wildcards. Fixes #2034 Signed-off-by: Andrei Vagin <avagin@gmail.com>
Diffstat (limited to 'test/syscalls')
-rw-r--r--test/syscalls/linux/tuntap_hostinet.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/syscalls/linux/tuntap_hostinet.cc b/test/syscalls/linux/tuntap_hostinet.cc
index 0c527419e..1513fb9d5 100644
--- a/test/syscalls/linux/tuntap_hostinet.cc
+++ b/test/syscalls/linux/tuntap_hostinet.cc
@@ -26,6 +26,7 @@ namespace {
TEST(TuntapHostInetTest, NoNetTun) {
SKIP_IF(!IsRunningOnGvisor());
+ SKIP_IF(!IsRunningWithHostinet());
struct stat statbuf;
ASSERT_THAT(stat("/dev/net/tun", &statbuf), SyscallFailsWithErrno(ENOENT));