From eba0ff75cc1ebd2dd65b6a7a6f4fa30f4cfe5e76 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 21 Jun 2012 11:42:45 -0400 Subject: [PATCH] tests: Just use OT_TESTS_DEBUG to say "save test data" --- tests/libtest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/libtest.sh b/tests/libtest.sh index 691e7c34..c09639f4 100644 --- a/tests/libtest.sh +++ b/tests/libtest.sh @@ -37,7 +37,7 @@ if test -n "$OT_TESTS_VALGRIND"; then fi die () { - if test -z "$OT_TESTS_SAVE_TEMPS"; then + if test -z "$OT_TESTS_DEBUG"; then test -f "$test_tmpdir/.test$$" && rm -rf "$test_tmpdir" else echo "Temporary files saved in $test_tmpdir"