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:
parent
b1576e5332
commit
6ec669631f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue