From: Guus Sliepen Date: Sun, 9 Sep 2018 20:13:43 +0000 (+0200) Subject: Add a test for backwards compatibility with the legacy protocol. X-Git-Tag: release-1.1pre17~9 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=69e550f5950e31fb97eb4558c3d6e564211ab03a;p=tinc Add a test for backwards compatibility with the legacy protocol. --- diff --git a/test/Makefile.am b/test/Makefile.am index 9c2f0011..32b2e300 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -6,6 +6,7 @@ TESTS = \ invite-join.test \ invite-offline.test \ invite-tinc-up.test \ + legacy-protocol.test \ ns-ping.test \ scripts.test \ security.test \ diff --git a/test/legacy-protocol.test b/test/legacy-protocol.test new file mode 100755 index 00000000..ce8e6142 --- /dev/null +++ b/test/legacy-protocol.test @@ -0,0 +1,79 @@ +#!/bin/sh + +. "${0%/*}/testlib.sh" + +# Initialize two nodes + +$tinc $c1 <