Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestChildCriticalEnv (0.14 sec)

  1. src/os/exec/exec_windows_test.go

    		t.Fatalf("got exit code %d; want 88", exitError.ExitCode())
    	}
    }
    
    // start a child process without the user code explicitly starting
    // with a copy of the parent's SYSTEMROOT.
    // (See issue 25210.)
    func TestChildCriticalEnv(t *testing.T) {
    	t.Parallel()
    	cmd := helperCommand(t, "echoenv", "SYSTEMROOT")
    
    	// Explicitly remove SYSTEMROOT from the command's environment.
    	var env []string
    	for _, kv := range cmd.Environ() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 21 23:07:55 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top