- Use DEBUG_TDIR from environment in mini_tdir.sh for debugging.

- Fix string comparison in mini_tdir.sh.
This commit is contained in:
George Thessalonikefs 2022-10-05 00:48:20 +02:00
parent 40b2b3a6f3
commit 60db1111c0
2 changed files with 6 additions and 1 deletions

View file

@ -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).

View file

@ -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