Commit 89930bda authored by Ian Lance Taylor's avatar Ian Lance Taylor

os: adjust test: /bin is a symlink, not a directory, on Solaris.

R=rsc
CC=golang-dev
https://golang.org/cl/4239066
parent 6892155d
......@@ -614,7 +614,7 @@ func TestChdirAndGetwd(t *testing.T) {
}
// These are chosen carefully not to be symlinks on a Mac
// (unlike, say, /var, /etc, and /tmp).
dirs := []string{"/bin", "/", "/usr/bin"}
dirs := []string{"/", "/usr/bin"}
for mode := 0; mode < 2; mode++ {
for _, d := range dirs {
if mode == 0 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment