Ensure "make distcheck" really runs without errors.
[tinc] / test / variables.test
index 4cf9d5e..f8656c9 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-. ./testlib.sh
+. "${0%/*}/testlib.sh"
 
 # Initialize one node
 
@@ -38,7 +38,6 @@ $tinc $c1 add Subnet 2
 $tinc $c1 add Subnet 3
 test "`$tinc $c1 get Subnet`" = "1
 2
-2
 3"
 $tinc $c1 del Subnet 2
 test "`$tinc $c1 get Subnet`" = "1
@@ -65,7 +64,6 @@ $tinc $c1 add bar.Subnet 2
 $tinc $c1 add bar.Subnet 3
 test "`$tinc $c1 get bar.Subnet`" = "1
 2
-2
 3"
 $tinc $c1 del bar.Subnet 2
 test "`$tinc $c1 get bar.Subnet`" = "1