Message ID | yddpqn9wwu4.fsf@manam.CeBiTec.Uni-Bielefeld.DE |
---|---|
State | New |
Headers | show |
diff --git a/libgo/go/os/os_test.go b/libgo/go/os/os_test.go --- a/libgo/go/os/os_test.go +++ b/libgo/go/os/os_test.go @@ -440,7 +440,12 @@ func TestStartProcess(t *testing.T) { args = []string{"/c", "cd"} } else { le = "\n" - cmd = "/bin/pwd" + // /bin is a symlink to /usr/bin on Solaris. + if syscall.OS == "solaris" { + cmd = "/usr/bin/pwd" + } else { + cmd = "/bin/pwd" + } dir = "/" args = []string{} }