imports: skip test on plan9
Change-Id: I608a1ba47a049b7eb5f4ded481744d8b25e68800 Reviewed-on: https://go-review.googlesource.com/24988 Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
This commit is contained in:
parent
681db090d9
commit
29481a356d
|
@ -826,8 +826,9 @@ func TestFixImports(t *testing.T) {
|
||||||
// Test support for packages in GOPATH that are actually symlinks.
|
// Test support for packages in GOPATH that are actually symlinks.
|
||||||
// Also test that a symlink loop does not block the process.
|
// Also test that a symlink loop does not block the process.
|
||||||
func TestImportSymlinks(t *testing.T) {
|
func TestImportSymlinks(t *testing.T) {
|
||||||
if runtime.GOOS == "windows" {
|
switch runtime.GOOS {
|
||||||
t.Skip("Skipping test on Windows as there are no symlinks.")
|
case "windows", "plan9":
|
||||||
|
t.Skip("skipping test on %q as there are no symlinks", runtime.GOOS)
|
||||||
}
|
}
|
||||||
|
|
||||||
newGoPath, err := ioutil.TempDir("", "symlinktest")
|
newGoPath, err := ioutil.TempDir("", "symlinktest")
|
||||||
|
|
Loading…
Reference in New Issue