summaryrefslogtreecommitdiffhomepage
path: root/runsc/container/container_test.go
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2020-05-18 10:21:43 -0700
committergVisor bot <gvisor-bot@google.com>2020-05-18 10:23:22 -0700
commit32ab382c80306d7dab499e983af2bfaea7770d1d (patch)
treeff9099d7b9ac0d590a6525583a200544d172661c /runsc/container/container_test.go
parentc27e334f260f6d1b2a380c8f105028a8140b7acd (diff)
Improve unsupported syscall message
PiperOrigin-RevId: 312104899
Diffstat (limited to 'runsc/container/container_test.go')
-rw-r--r--runsc/container/container_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/container/container_test.go b/runsc/container/container_test.go
index 7ba301331..1a6d50d0d 100644
--- a/runsc/container/container_test.go
+++ b/runsc/container/container_test.go
@@ -1760,7 +1760,7 @@ func TestUserLog(t *testing.T) {
if err != nil {
t.Fatalf("error opening user log file %q: %v", userLog, err)
}
- if want := "Unsupported syscall: sched_rr_get_interval"; !strings.Contains(string(out), want) {
+ if want := "Unsupported syscall sched_rr_get_interval("; !strings.Contains(string(out), want) {
t.Errorf("user log file doesn't contain %q, out: %s", want, string(out))
}
}