minor
[oweals/tinc.git] / test / commandline.test
index e95c953509f8acf2f839e3308b2bbd94e2d47a76..44d651a5ebf852cec6ca7e51120bcfb27ad419a6 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-. ./testlib.sh
+. "${0%/*}/testlib.sh"
 
 # Initialize one node
 
@@ -44,6 +44,7 @@ $tinc $c1 --net foo get name
 
 # Test tinc command line options that should not work
 
+$tinc $c1 -n foo get somethingreallyunknown && exit 1 || true
 $tinc $c1 --net && exit 1 || true
 $tinc $c1 --net get name && exit 1 || true
 $tinc $c1 foo && exit 1 || true