From: Ondřej Surý Date: Wed, 2 Sep 2020 11:10:17 +0000 (+0200) Subject: Skip the large TCP assertion failure test in the CI environment X-Git-Tag: v9.17.5~10^2 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=91322d72c25eb33c4a613cd238236fc11bfa5781;p=thirdparty%2Fbind9.git Skip the large TCP assertion failure test in the CI environment --- diff --git a/bin/tests/system/tcp/tests.sh b/bin/tests/system/tcp/tests.sh index 20d72c610a2..92c3555c371 100644 --- a/bin/tests/system/tcp/tests.sh +++ b/bin/tests/system/tcp/tests.sh @@ -186,9 +186,13 @@ status=$((status + ret)) n=$((n + 1)) echo_i "checking that BIND 9 doesn't crash on long TCP messages ($n)" ret=0 -$PERL ../packet.pl -a "10.53.0.1" -p "${PORT}" -t tcp -r 300000 1996-alloc_dnsbuf-crash-test.pkt || ret=1 -dig_with_opts +tcp @10.53.0.1 txt.example > dig.out.test$n || ret=1 -if [ $ret != 0 ]; then echo_i "failed"; fi +if [ -z "$CI" ]; then + $PERL ../packet.pl -a "10.53.0.1" -p "${PORT}" -t tcp -r 300000 1996-alloc_dnsbuf-crash-test.pkt || ret=1 + dig_with_opts +tcp @10.53.0.1 txt.example > dig.out.test$n || ret=1 + if [ $ret != 0 ]; then echo_i "failed"; fi +else + echo_i "skipped"; +fi status=$((status + ret)) echo_i "exit status: $status"