]> www.tinc-vpn.org Git - tinc/blobdiff - test/scripts.test
Convert sizeof foo to sizeof(foo).
[tinc] / test / scripts.test
index de69ad3a6a1fa9a233d1d6c11db8ecebb79c5e79..3b3f27493e063aa6d22a5d229795592e26109b5e 100755 (executable)
@@ -8,7 +8,7 @@ $tinc $c1 <<EOF
 init foo
 set DeviceType dummy
 set Port 32759
-set Address localhost
+set Address 127.0.0.1
 add Subnet 10.0.0.1
 add Subnet fec0::/64
 EOF
@@ -71,6 +71,8 @@ echo bar-started >>$OUT
 # Stop server node
 
 $tinc $c1 stop
+sleep 1
+$tinc $c2 stop
 
 # Check if the script output is what is expected