summaryrefslogtreecommitdiffhomepage
path: root/test/root
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2020-04-17 13:27:35 -0700
committergVisor bot <gvisor-bot@google.com>2020-04-17 13:28:54 -0700
commita80cd4302337f1c3a807e127f5a6edc2f014f431 (patch)
tree488d12600f1bd1d20cd236846597f5e6c5f5aca5 /test/root
parent80deebb0bfde2a53c943deb8d8473239bb6de3eb (diff)
Add test name to boot and gofer log files
This is to make easier to find corresponding logs in case test fails. PiperOrigin-RevId: 307104283
Diffstat (limited to 'test/root')
-rw-r--r--test/root/oom_score_adj_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/root/oom_score_adj_test.go b/test/root/oom_score_adj_test.go
index 126f0975a..22488b05d 100644
--- a/test/root/oom_score_adj_test.go
+++ b/test/root/oom_score_adj_test.go
@@ -46,7 +46,7 @@ func TestOOMScoreAdjSingle(t *testing.T) {
}
defer os.RemoveAll(rootDir)
- conf := testutil.TestConfig()
+ conf := testutil.TestConfig(t)
conf.RootDir = rootDir
ppid, err := specutils.GetParentPid(os.Getpid())
@@ -137,7 +137,7 @@ func TestOOMScoreAdjMulti(t *testing.T) {
}
defer os.RemoveAll(rootDir)
- conf := testutil.TestConfig()
+ conf := testutil.TestConfig(t)
conf.RootDir = rootDir
ppid, err := specutils.GetParentPid(os.Getpid())