Append ".txt" to test debug log names.

PiperOrigin-RevId: 476495387
This commit is contained in:
Nicolas Lacasse
2022-09-23 17:16:27 -07:00
committed by gVisor bot
parent 0479a63023
commit 418394bfb1
+1 -1
View File
@@ -235,7 +235,7 @@ func TestConfig(t *testing.T) *config.Config {
}
// Change test defaults.
conf.Debug = true
conf.DebugLog = path.Join(logDir, "runsc.log."+t.Name()+".%TIMESTAMP%.%COMMAND%")
conf.DebugLog = path.Join(logDir, "runsc.log."+t.Name()+".%TIMESTAMP%.%COMMAND%.txt")
conf.LogPackets = true
conf.Network = config.NetworkNone
conf.Strace = true