From: Guus Sliepen Date: Fri, 30 Nov 2018 13:47:52 +0000 (+0100) Subject: Fix the scripts test. X-Git-Url: https://git.librecmc.org/?p=oweals%2Ftinc.git;a=commitdiff_plain;h=25a3945e77927c11cae915b7b46fac7ac789013d Fix the scripts test. This was broken because of the changes in commit 44f3023. --- diff --git a/test/scripts.test b/test/scripts.test index b2b37d2..e209d69 100755 --- a/test/scripts.test +++ b/test/scripts.test @@ -38,7 +38,7 @@ done echo Starting server node... -$tinc -n netname $c1 start $r1 +$tinc $c1 -n netname start $r1 echo foo-started >>$OUT @@ -46,13 +46,13 @@ echo foo-started >>$OUT echo Inviting client node... -url=`$tinc -n netname2 $c1 invite bar | sed 's/\r//'` +url=`$tinc $c1 -n netname2 invite bar | sed 's/\r//'` file=`cd $d1/invitations; ls | grep -v ed25519_key.priv` echo bar-invited >>$OUT echo Joining client node... -$tinc -n netname3 $c2 join $url +$tinc $c2 -n netname3 join $url echo bar-joined >>$OUT # Start and stop client node