Ensure "make distcheck" really runs without errors.
[tinc] / test / invite-join.test
index dbe6f8a..4c254a4 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-. ./testlib.sh
+. "${0%/*}/testlib.sh"
 
 # Initialize one node
 
@@ -17,14 +17,12 @@ EOF
 
 # Generate an invitation and let another node join the VPN
 
-sleep 1
-
 $tinc $c1 invite bar | $tinc $c2 join
 
 # Test equivalence of host config files
 
 cmp $d1/hosts/foo $d2/hosts/foo
-test "`grep ^ECDSAPublicKey $d1/hosts/bar`" = "`grep ^ECDSAPublicKey $d2/hosts/bar`"
+test "`grep ^Ed25519PublicKey $d1/hosts/bar`" = "`grep ^Ed25519PublicKey $d2/hosts/bar`"
 
 # Test Mode, Broadcast and ConnectTo statements