X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=test%2Fvariables.test;h=f8656c9309fb98c953165d1b3a9e33b830fc0b7b;hb=a0baeddb8aa745007d0302ed06247cabb8facb32;hp=4cf9d5e53043b0d25c3daa5e46f534f2ace5a9f2;hpb=2faf3e91af90716180bde27f54370fe4cbfc64c2;p=tinc diff --git a/test/variables.test b/test/variables.test index 4cf9d5e5..f8656c93 100755 --- a/test/variables.test +++ b/test/variables.test @@ -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