skip checks.bash in short mode
Change-Id: Ic36dcafff9e4dc3762a9c7bff3d10901c9d23147
Reviewed-on: https://go-review.googlesource.com/c/vuln/+/487975
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Cottrell <iancottrell@google.com>
Auto-Submit: Ian Cottrell <iancottrell@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
diff --git a/all_test.go b/all_test.go
index 0a54314..bf534b4 100644
--- a/all_test.go
+++ b/all_test.go
@@ -22,6 +22,9 @@
}
func Test(t *testing.T) {
+ if testing.Short() {
+ t.Skipf("skipping: short mode")
+ }
bash, err := exec.LookPath("bash")
if err != nil {
t.Skipf("skipping: %v", err)