diff options
author | Kali Kaneko <kali@leap.se> | 2015-07-10 12:13:37 -0400 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2015-07-13 11:55:31 -0400 |
commit | 965498360bf275035157bbe90eb85f4fd74e9ee3 (patch) | |
tree | eda0854f5f24bc56a7e366185608e0c2990a68d2 | |
parent | 21cffe745d3f5a6de8123a6fbfc0f297539c4e4d (diff) |
[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.
-rwxr-xr-x | mail/src/leap/mail/imap/tests/regressions_mime_struct | 4 |
1 files changed, 3 insertions, 1 deletions
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() |