X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=test%2Fscripts.test;h=2580ced778decfa7bd6c0d1e0204cd552ba1bbe4;hb=a0baeddb8aa745007d0302ed06247cabb8facb32;hp=de69ad3a6a1fa9a233d1d6c11db8ecebb79c5e79;hpb=0af3dcf7a838dede699194c02444f1607644bb28;p=tinc diff --git a/test/scripts.test b/test/scripts.test index de69ad3a..2580ced7 100755 --- a/test/scripts.test +++ b/test/scripts.test @@ -1,6 +1,6 @@ #!/bin/sh -. ./testlib.sh +. "${0%/*}/testlib.sh" # Initialize server node @@ -8,7 +8,7 @@ $tinc $c1 <>$OUT # Stop server node $tinc $c1 stop +sleep 1 +$tinc $c2 stop # Check if the script output is what is expected