X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=test%2Finvite-offline.test;h=e515919daf3cb682681f97bdb351e271d732a4d4;hb=6779e381e59092b317a63356180db9a832ffb47d;hp=b4354938d2339979e5f94a5ff8ef447961878b94;hpb=3ab1893a4b6c2895075ac889cf06c511e2001a9e;p=tinc diff --git a/test/invite-offline.test b/test/invite-offline.test index b4354938..e515919d 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 | tr -d '\r'` $tinc $c1 start $r1