X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=test%2Finvite-join.test;h=791558104d1480c3ca378bbb1c06b6394582662c;hb=a4b5665643d48596b2659dbd69fe8e9b2a944e35;hp=892767c7126689866295c485b8a58ac395bd08cd;hpb=046a10d692d1ac22de4daf783ee4fe025c4eb6ec;p=tinc diff --git a/test/invite-join.test b/test/invite-join.test index 892767c7..79155810 100755 --- a/test/invite-join.test +++ b/test/invite-join.test @@ -1,7 +1,6 @@ #!/bin/sh -# shellcheck source=testlib.sh -. "${0%/*}/testlib.sh" +. ./testlib.sh echo [STEP] Initialize one node @@ -18,7 +17,8 @@ start_tinc foo echo [STEP] Generate an invitation and let another node join the VPN -tinc foo invite bar | tinc bar join +invitation=$(tinc foo invite bar) +tinc bar join "$invitation" echo [STEP] Test equivalence of host config files