Merge pull request #4077 from zhlhahaha:1973

PiperOrigin-RevId: 333805533
This commit is contained in:
gVisor bot
2020-09-25 14:11:51 -07:00
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -1843,8 +1843,9 @@ func TestUserLog(t *testing.T) {
t.Fatal("error finding test_app:", err)
}
// sched_rr_get_interval = 148 - not implemented in gvisor.
spec := testutil.NewSpecWithArgs(app, "syscall", "--syscall=148")
// sched_rr_get_interval - not implemented in gvisor.
num := strconv.Itoa(syscall.SYS_SCHED_RR_GET_INTERVAL)
spec := testutil.NewSpecWithArgs(app, "syscall", "--syscall="+num)
conf := testutil.TestConfig(t)
_, bundleDir, cleanup, err := testutil.SetupContainer(spec, conf)
if err != nil {
+1 -1
View File
@@ -169,7 +169,7 @@ var (
},
},
},
input: testInput(nativeArchAuditNo, "open", nil),
input: testInput(nativeArchAuditNo, "openat", nil),
expected: uint32(allowAction),
},
{