- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testWindowsHostname (0.21 sec)
-
src/os/os_test.go
if n := len(output); n > 0 && output[n-1] == '\n' { output = output[0 : n-1] } if output == "" { t.Fatalf("/bin/hostname produced no output") } return output } func testWindowsHostname(t *testing.T, hostname string) { cmd := testenv.Command(t, "hostname") out, err := cmd.Output() if err != nil { t.Fatalf("Failed to execute hostname command: %v %s", err, out) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 83.1K bytes - Viewed (0)