From fd3ec60757a84b7551e03b3a48dd30f35015c448 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sun, 26 Mar 2017 16:47:54 +0200 Subject: [PATCH] Add the invite-offline test. This tests generating an invitation on the server while no tinc daemon is running. --- test/Makefile.am | 1 + test/invite-offline.test | 50 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100755 test/invite-offline.test 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 <