X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=test%2Flegacy-protocol.test;h=929d2228a1f1b5f5f7f3d5307dd3bc775b4909ce;hp=ce8e61422276aada0c8c551f4eded6210b7aedf1;hb=1fbaca31a15a37135d8d1de14c56b0df98a8ba1c;hpb=061362d2fd0fb295d943c7a69cce9e050041386d diff --git a/test/legacy-protocol.test b/test/legacy-protocol.test index ce8e6142..929d2228 100755 --- a/test/legacy-protocol.test +++ b/test/legacy-protocol.test @@ -1,5 +1,10 @@ #!/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 + . "${0%/*}/testlib.sh" # Initialize two nodes