diff options
author | Andrei Vagin <avagin@google.com> | 2020-03-04 16:15:22 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-03-04 16:16:35 -0800 |
commit | 80b40bbb06f3c9ca23e3ad152b481ab222ec0e47 (patch) | |
tree | a4021034ff8b19bb3812367b5f75de8f0e08f79f /pkg/seccomp | |
parent | 4f43d5ecad9fc4e0541b106a874db7fcd87fde8f (diff) |
tests: Don't print log messages on stdout
A parser of test results doesn't expect to see any extra messages.
PiperOrigin-RevId: 298966577
Diffstat (limited to 'pkg/seccomp')
-rw-r--r-- | pkg/seccomp/seccomp_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/seccomp/seccomp_test.go b/pkg/seccomp/seccomp_test.go index da5a5e4b2..88766f33b 100644 --- a/pkg/seccomp/seccomp_test.go +++ b/pkg/seccomp/seccomp_test.go @@ -451,7 +451,7 @@ func TestRandom(t *testing.T) { } } - fmt.Printf("Testing filters: %v", syscallRules) + t.Logf("Testing filters: %v", syscallRules) instrs, err := BuildProgram([]RuleSet{ RuleSet{ Rules: syscallRules, |