]> www.tinc-vpn.org Git - tinc/blobdiff - test/executables.test
Ensure "make distcheck" really runs without errors.
[tinc] / test / executables.test
index 35dd2bc8442163bcc9557879eb9787e4c792c708..0cf9723ebb7ce170f544e070298feb8749b62a7c 100755 (executable)
@@ -1,8 +1,10 @@
 #!/bin/sh
 
-. ./testlib.sh
+. "${0%/*}/testlib.sh"
 
 # Just test whether the executables work
 $tincd --help
 $tinc --help
-$sptps_test --help
+if [ -e $sptps_test ]; then
+       $sptps_test --help
+fi