From 69e550f5950e31fb97eb4558c3d6e564211ab03a Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sun, 9 Sep 2018 22:13:43 +0200 Subject: [PATCH] Add a test for backwards compatibility with the legacy protocol. --- test/Makefile.am | 1 + test/legacy-protocol.test | 79 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100755 test/legacy-protocol.test diff --git a/test/Makefile.am b/test/Makefile.am index 9c2f001..32b2e30 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 0000000..ce8e614 --- /dev/null +++ b/test/legacy-protocol.test @@ -0,0 +1,79 @@ +#!/bin/sh + +. "${0%/*}/testlib.sh" + +# Initialize two nodes + +$tinc $c1 <