X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=test%2Flegacy-protocol.test;h=344662186586b3d4be09b9b74699434f0c88ec1f;hb=046a10d692d1ac22de4daf783ee4fe025c4eb6ec;hp=929d2228a1f1b5f5f7f3d5307dd3bc775b4909ce;hpb=1fbaca31a15a37135d8d1de14c56b0df98a8ba1c;p=tinc diff --git a/test/legacy-protocol.test b/test/legacy-protocol.test index 929d2228..34466218 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 . "${0%/*}/testlib.sh" -# Initialize two nodes +echo [STEP] Initialize two nodes -$tinc $c1 <