From: Guus Sliepen Date: Sun, 26 Mar 2017 14:47:54 +0000 (+0200) Subject: Add the invite-offline test. X-Git-Tag: release-1.1pre15~34 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=fd3ec60757a84b7551e03b3a48dd30f35015c448;p=tinc Add the invite-offline test. This tests generating an invitation on the server while no tinc daemon is running. --- diff --git a/test/Makefile.am b/test/Makefile.am index df8e2c3b..0bd66c77 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -4,6 +4,7 @@ TESTS = \ executables.test \ import-export.test \ invite-join.test \ + invite-offline.test \ invite-tinc-up.test \ ns-ping.test \ ping.test \ diff --git a/test/invite-offline.test b/test/invite-offline.test new file mode 100755 index 00000000..8e027daa --- /dev/null +++ b/test/invite-offline.test @@ -0,0 +1,50 @@ +#!/bin/sh + +. ./testlib.sh + +# Initialize one node + +$tinc $c1 <