- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Unsetenv (0.14 sec)
-
cmd/test-utils_test.go
// disable ENVs which interfere with tests. for _, env := range []string{ crypto.EnvKMSAutoEncryption, config.EnvAccessKey, config.EnvSecretKey, config.EnvRootUser, config.EnvRootPassword, } { os.Unsetenv(env) } // Set as non-distributed. globalIsDistErasure = false // Disable printing console messages during tests. color.Output = io.Discard // Disable Error logging in testing.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 77K bytes - Viewed (0) -
src/archive/zip/reader_test.go
continue } if got := fi.ModTime(); !got.Equal(test.want) { t.Errorf("%s: got modtime %v, want %v", test.name, got, test.want) } } } func TestCVE202127919(t *testing.T) { t.Setenv("GODEBUG", "zipinsecurepath=0") // Archive containing only the file "../test.txt" data := []byte{ 0x50, 0x4b, 0x03, 0x04, 0x14, 0x00, 0x08, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 25 00:25:45 UTC 2024 - 55.6K bytes - Viewed (0)