From 965498360bf275035157bbe90eb85f4fd74e9ee3 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Fri, 10 Jul 2015 12:13:37 -0400 Subject: [tests] get REGRESSIONS_FOLDER from env var in order to start with a fresh folder each time. current test script has some troubles with dirty state. --- mail/src/leap/mail/imap/tests/regressions_mime_struct | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mail/src') diff --git a/mail/src/leap/mail/imap/tests/regressions_mime_struct b/mail/src/leap/mail/imap/tests/regressions_mime_struct index 1e0e870..0332664 100755 --- a/mail/src/leap/mail/imap/tests/regressions_mime_struct +++ b/mail/src/leap/mail/imap/tests/regressions_mime_struct @@ -40,7 +40,9 @@ from twisted.protocols import basic from twisted.python import log -REGRESSIONS_FOLDER = "regressions_test" +REGRESSIONS_FOLDER = os.environ.get( + "REGRESSIONS_FOLDER", "regressions_test") +print "[+] Using regressions folder:", REGRESSIONS_FOLDER parser = Parser() -- cgit v1.2.3