X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=test%2Finvite-join.test;h=791558104d1480c3ca378bbb1c06b6394582662c;hb=ac2a1722b71e98010324ed46235e96bfa6e672f5;hp=58edd4a64c27187f628277f12e6ed2b34be045e8;hpb=4fbaf80d56a418ebd23eeace9053fa8f20097f77;p=tinc diff --git a/test/invite-join.test b/test/invite-join.test index 58edd4a6..79155810 100755 --- a/test/invite-join.test +++ b/test/invite-join.test @@ -1,6 +1,5 @@ #!/bin/sh -# shellcheck source=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