[conduit/tracker] Add a test disclaimer



commit 151498550fd3b4c55e0a476b654814d057400f18
Author: John Carr <john carr unrouted co uk>
Date:   Mon Jun 15 05:44:30 2009 +0100

    Add a test disclaimer

 test/soup/soup |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/test/soup/soup b/test/soup/soup
index dca85ad..2b03231 100755
--- a/test/soup/soup
+++ b/test/soup/soup
@@ -2,6 +2,12 @@
 
 import sys, os, unittest, logging
 
+if not "KILL_MY_DATA" in os.environ:
+    print "WARNING: Soup isnt yet able to setup a pristine self contained test environment"
+    print "It will definitely eat tomboy, evolution and tracker data so don't run it!!"
+    print "If you insist, set KILL_MY_DATA environment variable"
+    sys.exit(1)
+
 testsdir = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
 sys.path.insert(0, testsdir)
 



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