summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@google.com>2021-06-11 16:44:55 -0700
committergVisor bot <gvisor-bot@google.com>2021-06-11 16:47:52 -0700
commit3c63fce628ccee1f41c9c3a1ff693042ce094503 (patch)
tree356243ca9e6ad374e371064b7fee21f5c67ea14d /test
parentc3326c440aa7f65355217ef235453587b222de7c (diff)
Temorary skip test cases that fail on Linux
PiperOrigin-RevId: 378974239
Diffstat (limited to 'test')
-rw-r--r--test/syscalls/linux/exec.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/syscalls/linux/exec.cc b/test/syscalls/linux/exec.cc
index c5acfc794..e0f3779a2 100644
--- a/test/syscalls/linux/exec.cc
+++ b/test/syscalls/linux/exec.cc
@@ -278,6 +278,9 @@ TEST(ExecTest, InterpreterScriptArgNUL) {
// Trailing whitespace following interpreter path is ignored.
TEST(ExecTest, InterpreterScriptTrailingWhitespace) {
+ // FIXME(b/190850365): This test case fails on Linux.
+ SKIP_IF(!IsRunningOnGvisor());
+
// Symlink through /tmp to ensure the path is short enough.
TempPath link = ASSERT_NO_ERRNO_AND_VALUE(
TempPath::CreateSymlinkTo("/tmp", RunfilePath(kBasicWorkload)));
@@ -303,6 +306,9 @@ TEST(ExecTest, InterpreterScriptArgWhitespace) {
}
TEST(ExecTest, InterpreterScriptNoPath) {
+ // FIXME(b/190850365): This test case fails on Linux.
+ SKIP_IF(!IsRunningOnGvisor());
+
TempPath script = ASSERT_NO_ERRNO_AND_VALUE(
TempPath::CreateFileWith(GetAbsoluteTestTmpdir(), "#!", 0755));