Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestEnvNULCharacter (0.15 sec)

  1. src/os/exec/exec_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if got, want := strings.TrimSpace(string(out)), "good"; got != want {
    		t.Errorf("output = %q; want %q", got, want)
    	}
    }
    
    func TestEnvNULCharacter(t *testing.T) {
    	if runtime.GOOS == "plan9" {
    		t.Skip("plan9 explicitly allows NUL in the environment")
    	}
    	cmd := helperCommand(t, "echoenv", "FOO", "BAR")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
Back to top