Restore libgcrypt support.
[tinc] / test / security.test
index 815825e..ee7bd46 100755 (executable)
@@ -1,12 +1,11 @@
 #!/bin/sh
 
-# shellcheck source=testlib.sh
 . ./testlib.sh
 
 echo [STEP] Skip this test if tools are missing
 
-which nc >/dev/null || exit $EXIT_SKIP_TEST
-which timeout >/dev/null || exit $EXIT_SKIP_TEST
+command -v nc >/dev/null || exit $EXIT_SKIP_TEST
+command -v timeout >/dev/null || exit $EXIT_SKIP_TEST
 
 foo_port=30050
 bar_port=30051