summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-03-04 15:12:26 -0800
committergVisor bot <gvisor-bot@google.com>2020-03-04 15:12:26 -0800
commit4f43d5ecad9fc4e0541b106a874db7fcd87fde8f (patch)
treefb7e01b2a427c73ceff5004cd0759051381ddef9 /test/syscalls
parenta690b5762480ae80ef4264402fcfa8d84b57339a (diff)
parent504c9e14d61a9ca9fa3615290a05471684019ecc (diff)
Merge pull request #2054 from avagin:gvisor-test
PiperOrigin-RevId: 298951909
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));