From: George Thessalonikefs Date: Tue, 4 Oct 2022 22:48:20 +0000 (+0200) Subject: - Use DEBUG_TDIR from environment in mini_tdir.sh for debugging. X-Git-Tag: release-1.17.0rc1~7 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=60db1111c02354a54f7f5673b174d110ba336962;p=thirdparty%2Funbound.git - Use DEBUG_TDIR from environment in mini_tdir.sh for debugging. - Fix string comparison in mini_tdir.sh. --- diff --git a/doc/Changelog b/doc/Changelog index 8c7483f88..6823a60ba 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,7 @@ +5 October 2022: George + - Use DEBUG_TDIR from environment in mini_tdir.sh for debugging. + - Fix string comparison in mini_tdir.sh. + 4 October 2022: George - Merge #764: Leniency for target discovery when under load (for NRDelegation changes). diff --git a/testcode/mini_tdir.sh b/testcode/mini_tdir.sh index 3b0719369..624ecdf7f 100755 --- a/testcode/mini_tdir.sh +++ b/testcode/mini_tdir.sh @@ -8,6 +8,7 @@ fi # This will keep the temporary directory around and return 1 when the test failed. DEBUG=0 +test -n "$DEBUG_TDIR" && DEBUG=1 quiet=0 if test "$1" = "-q"; then @@ -213,7 +214,7 @@ if test $DEBUG -eq 0; then rm -rf $dir fi else - if test $success == "no"; then + if test $success = "no"; then exit 1 fi exit 0