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