X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=test%2Finvite-offline.test;h=82f7cb98dd02c199d461cd1a399411685fbe0f15;hb=e7a422c64423c3fdb4d44235440ea8dd0ba1d9f5;hp=b4354938d2339979e5f94a5ff8ef447961878b94;hpb=3ab1893a4b6c2895075ac889cf06c511e2001a9e;p=tinc diff --git a/test/invite-offline.test b/test/invite-offline.test index b4354938..82f7cb98 100755 --- a/test/invite-offline.test +++ b/test/invite-offline.test @@ -1,6 +1,6 @@ #!/bin/sh -. ./testlib.sh +. "${0%/*}/testlib.sh" # Initialize one node @@ -9,14 +9,13 @@ init foo set DeviceType dummy set Mode switch set Broadcast no -del Port set Address localhost set Port 32758 EOF # Generate an invitation offline and let another node join the VPN -invitation=`$tinc $c1 invite bar` +invitation=`$tinc $c1 invite bar | sed 's/\r//'` $tinc $c1 start $r1