X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=test%2Flegacy-protocol.test;h=1aef8f282d28d76455a99bcfcde4087bef08d67c;hb=4fbaf80d56a418ebd23eeace9053fa8f20097f77;hp=929d2228a1f1b5f5f7f3d5307dd3bc775b4909ce;hpb=1fbaca31a15a37135d8d1de14c56b0df98a8ba1c;p=tinc diff --git a/test/legacy-protocol.test b/test/legacy-protocol.test index 929d2228..1aef8f28 100755 --- a/test/legacy-protocol.test +++ b/test/legacy-protocol.test @@ -1,84 +1,90 @@ #!/bin/sh -# Skip this test if the legacy protocol is disabled -if grep -q "define DISABLE_LEGACY 1" "${0%/*}/../config.h"; then - exit 77 -fi +# shellcheck source=testlib.sh +. ./testlib.sh -. "${0%/*}/testlib.sh" +echo [STEP] Initialize two nodes -# Initialize two nodes - -$tinc $c1 <