Add missing tinc stop command to the scripts test.
[tinc] / test / scripts.test
index de69ad3..3b3f274 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