Solaris libgo testsuite fixes.

From-SVN: r170762
This commit is contained in:
Ian Lance Taylor 2011-03-07 23:37:12 +00:00
parent ec9dc45b75
commit 26bc022b8f
2 changed files with 1 additions and 3 deletions

View File

@ -27,9 +27,7 @@ var porttests = []portTest{
{"tcp", "smtp", 25, true},
{"tcp", "time", 37, true},
{"tcp", "domain", 53, true},
{"tcp", "gopher", 70, true},
{"tcp", "finger", 79, true},
{"tcp", "http", 80, true},
{"udp", "echo", 7, true},
{"udp", "tftp", 69, true},

View File

@ -609,7 +609,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 {