Commit 26bc022b by Ian Lance Taylor

Solaris libgo testsuite fixes.

From-SVN: r170762
parent ec9dc45b
...@@ -27,9 +27,7 @@ var porttests = []portTest{ ...@@ -27,9 +27,7 @@ var porttests = []portTest{
{"tcp", "smtp", 25, true}, {"tcp", "smtp", 25, true},
{"tcp", "time", 37, true}, {"tcp", "time", 37, true},
{"tcp", "domain", 53, true}, {"tcp", "domain", 53, true},
{"tcp", "gopher", 70, true},
{"tcp", "finger", 79, true}, {"tcp", "finger", 79, true},
{"tcp", "http", 80, true},
{"udp", "echo", 7, true}, {"udp", "echo", 7, true},
{"udp", "tftp", 69, true}, {"udp", "tftp", 69, true},
......
...@@ -609,7 +609,7 @@ func TestChdirAndGetwd(t *testing.T) { ...@@ -609,7 +609,7 @@ func TestChdirAndGetwd(t *testing.T) {
} }
// These are chosen carefully not to be symlinks on a Mac // These are chosen carefully not to be symlinks on a Mac
// (unlike, say, /var, /etc, and /tmp). // (unlike, say, /var, /etc, and /tmp).
dirs := []string{"/bin", "/", "/usr/bin"} dirs := []string{"/", "/usr/bin"}
for mode := 0; mode < 2; mode++ { for mode := 0; mode < 2; mode++ {
for _, d := range dirs { for _, d := range dirs {
if mode == 0 { 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