[ostree] tests: Just use OT_TESTS_DEBUG to say "save test data"



commit eba0ff75cc1ebd2dd65b6a7a6f4fa30f4cfe5e76
Author: Colin Walters <walters verbum org>
Date:   Thu Jun 21 11:42:45 2012 -0400

    tests: Just use OT_TESTS_DEBUG to say "save test data"

 tests/libtest.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/libtest.sh b/tests/libtest.sh
index 691e7c3..c09639f 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"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]