X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=test%2Finvite-join.test;h=be2af2be6f640568a8c1784578ad78a083a1accb;hb=df716df33af8e9a5b93d573a023ecd7fc24d9a03;hp=3a9e3a337613761da175968cdbcbf670253df87f;hpb=cfe507c299935bd231be698b8a426cc730f52936;p=tinc diff --git a/test/invite-join.test b/test/invite-join.test index 3a9e3a33..be2af2be 100755 --- a/test/invite-join.test +++ b/test/invite-join.test @@ -1,6 +1,7 @@ #!/bin/sh -. ./testlib.sh +# shellcheck disable=SC1090 +. "$TESTLIB_PATH" echo [STEP] Initialize one node @@ -17,7 +18,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