summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/init.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/init.sh b/tests/init.sh
index f860b0b..a4b537c 100644
--- a/tests/init.sh
+++ b/tests/init.sh
@@ -12,7 +12,7 @@ framework_skip_() { warn_ "$ME_: framework skip: $*"; exit 77; }
check_prog()
{
- "$@" --version > /dev/null 2>&1 ||
+ type "$@" > /dev/null 2>&1 ||
framework_skip_ "$* is not available"
}