]> www.tinc-vpn.org Git - tinc/blobdiff - test/executables.test
Rewrite the test suite for better compat and stability
[tinc] / test / executables.test
index 35dd2bc8442163bcc9557879eb9787e4c792c708..28bff2a3806ce767710d6fa1488e0b6bc15c38c4 100755 (executable)
@@ -1,8 +1,14 @@
 #!/bin/sh
 
-. ./testlib.sh
+# shellcheck source=testlib.sh
+. "${0%/*}/testlib.sh"
 
-# Just test whether the executables work
-$tincd --help
-$tinc --help
-$sptps_test --help
+echo [STEP] Just test whether the executables work
+
+tinc foo --help
+
+tincd foo --help
+
+if [ -e "$SPTPS_TEST" ]; then
+  $SPTPS_TEST --help
+fi