tests: Don't print log messages on stdout

A parser of test results doesn't expect to see any extra messages.

PiperOrigin-RevId: 299174138
This commit is contained in:
Andrei Vagin
2020-03-05 13:08:04 -08:00
committed by gVisor bot
parent b1576e5332
commit 6ec669631f
+1 -1
View File
@@ -2092,7 +2092,7 @@ func TestOverlayfsStaleRead(t *testing.T) {
defer out.Close()
const want = "foobar"
cmd := fmt.Sprintf("cat %q && echo %q> %q && cp %q %q", in.Name(), want, in.Name(), in.Name(), out.Name())
cmd := fmt.Sprintf("cat %q >&2 && echo %q> %q && cp %q %q", in.Name(), want, in.Name(), in.Name(), out.Name())
spec := testutil.NewSpecWithArgs("/bin/bash", "-c", cmd)
if err := run(spec, conf); err != nil {
t.Fatalf("Error running container: %v", err)