summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest.bash6
1 files changed, 5 insertions, 1 deletions
diff --git a/test.bash b/test.bash
index eb9c5c6..215c88f 100755
--- a/test.bash
+++ b/test.bash
@@ -13,4 +13,8 @@ go test ./... $*
# The tests cannot to this themselves as they are run in parallel
rm -Rf --one-file-system /tmp/gocryptfs-test-parent
-go tool vet -all -shadow .
+if go tool | grep vet > /dev/null ; then
+ go tool vet -all -shadow .
+else
+ echo "\"go tool vet\" not available - skipping"
+fi