Commit fb49655d authored by Elias Naur's avatar Elias Naur

os: skip TestStatStdin on Android

Android doesn't (generally) have /bin/sh.

Change-Id: I343817c342e3473d09c85155761682b5ddb043e4
Reviewed-on: https://go-review.googlesource.com/21075Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
parent 44532f1a
...@@ -1584,8 +1584,9 @@ func TestStatDirModeExec(t *testing.T) { ...@@ -1584,8 +1584,9 @@ func TestStatDirModeExec(t *testing.T) {
} }
func TestStatStdin(t *testing.T) { func TestStatStdin(t *testing.T) {
if runtime.GOOS == "plan9" { switch runtime.GOOS {
t.Skipf("skipping test on plan9") case "android", "plan9":
t.Skipf("%s doesn't have /bin/sh", runtime.GOOS)
} }
testenv.MustHaveExec(t) testenv.MustHaveExec(t)
......
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