X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=test%2Fsecurity.test;h=ee7bd46dd30af7b2e79da393be738ea5c05369a6;hb=7e09765003114ba37fed2851d9126924d0f813f1;hp=815825ea3a2afcfd29bfc7e1d761ac372c21fdca;hpb=4fbaf80d56a418ebd23eeace9053fa8f20097f77;p=tinc diff --git a/test/security.test b/test/security.test index 815825ea..ee7bd46d 100755 --- a/test/security.test +++ b/test/security.test @@ -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