summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux
diff options
context:
space:
mode:
Diffstat (limited to 'test/syscalls/linux')
-rw-r--r--test/syscalls/linux/dev.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/syscalls/linux/dev.cc b/test/syscalls/linux/dev.cc
index 82b115981..6be173c14 100644
--- a/test/syscalls/linux/dev.cc
+++ b/test/syscalls/linux/dev.cc
@@ -165,7 +165,8 @@ TEST(DevTest, WriteDevFuse) {
}
TEST(DevTest, TTYExists) {
- SKIP_IF(!IsRunningWithVFS1());
+ // Run test if running on VFS1 or on Linux.
+ SKIP_IF(!IsRunningWithVFS1() && IsRunningOnGvisor());
struct stat statbuf = {};
ASSERT_THAT(stat("/dev/tty", &statbuf), SyscallSucceeds());