From 29481a356d4ec9c4badb3e4239ba69dc979f8d03 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Sun, 17 Jul 2016 16:24:21 +0000 Subject: [PATCH] imports: skip test on plan9 Change-Id: I608a1ba47a049b7eb5f4ded481744d8b25e68800 Reviewed-on: https://go-review.googlesource.com/24988 Reviewed-by: Josh Bleecher Snyder --- imports/fix_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/imports/fix_test.go b/imports/fix_test.go index 0cd596cd..73e5de75 100644 --- a/imports/fix_test.go +++ b/imports/fix_test.go @@ -826,8 +826,9 @@ func TestFixImports(t *testing.T) { // Test support for packages in GOPATH that are actually symlinks. // Also test that a symlink loop does not block the process. func TestImportSymlinks(t *testing.T) { - if runtime.GOOS == "windows" { - t.Skip("Skipping test on Windows as there are no symlinks.") + switch runtime.GOOS { + case "windows", "plan9": + t.Skip("skipping test on %q as there are no symlinks", runtime.GOOS) } newGoPath, err := ioutil.TempDir("", "symlinktest")