projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Really avoid trying to send an ANS_KEY request to unreachable nodes.
[tinc]
/
test
/
security.test
diff --git
a/test/security.test
b/test/security.test
index
91a5da5
..
ee7bd46
100755
(executable)
--- a/
test/security.test
+++ b/
test/security.test
@@
-1,12
+1,11
@@
#!/bin/sh
#!/bin/sh
-# shellcheck source=testlib.sh
-. "${0%/*}/testlib.sh"
+. ./testlib.sh
echo [STEP] Skip this test if tools are missing
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
foo_port=30050
bar_port=30051