X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=test%2Finvite-join.test;h=516732039868e93a71555dcf9b9458f38dbeacb8;hb=6c0584c55b99dd9814fed5c13536d831b3e5317e;hp=dbe6f8aeafa05e4040cad19dc4495c3bf1af9498;hpb=bdbb710060bef4b3ec63f5592e4def57a4817bd9;p=tinc diff --git a/test/invite-join.test b/test/invite-join.test index dbe6f8ae..51673203 100755 --- a/test/invite-join.test +++ b/test/invite-join.test @@ -1,6 +1,6 @@ #!/bin/sh -. ./testlib.sh +. "${0%/*}/testlib.sh" # Initialize one node @@ -9,7 +9,6 @@ init foo set DeviceType dummy set Mode switch set Broadcast no -del Port set Address localhost set Port 32751 start $r1 @@ -17,14 +16,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