summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Unterwurzacher2018-03-05 21:46:33 +0100
committerJakob Unterwurzacher2018-03-05 21:46:33 +0100
commit6c172dcb02c32b9ed3b21e89367fd9826a880bc9 (patch)
tree5f2204fcb84498be1b37abb5abbcbf6f1cd378c7
parentaa65091bb9437ad66ba5d09f9acd4c72c66bde87 (diff)
test-without-openssl: accept extra args
Accept extra args, like test.bash does.
-rwxr-xr-xtest-without-openssl.bash2
-rwxr-xr-xtest.bash2
2 files changed, 2 insertions, 2 deletions
diff --git a/test-without-openssl.bash b/test-without-openssl.bash
index 645c6cd..3f9de9e 100755
--- a/test-without-openssl.bash
+++ b/test-without-openssl.bash
@@ -2,4 +2,4 @@
cd "$(dirname "$0")"
-./test.bash -tags without_openssl
+./test.bash -tags without_openssl "$@"
diff --git a/test.bash b/test.bash
index 721c9aa..03eb218 100755
--- a/test.bash
+++ b/test.bash
@@ -43,7 +43,7 @@ fi
# We don't want all the subprocesses
# holding the lock file open
# vvvvv
-go test -count 1 ./... $* 200>&-
+go test -count 1 ./... "$@" 200>&-
# ^^^^^^^^
# Disable result caching