summaryrefslogtreecommitdiff
path: root/src/leap/mail/imap/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/mail/imap/tests')
-rwxr-xr-xsrc/leap/mail/imap/tests/regressions_mime_struct4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/leap/mail/imap/tests/regressions_mime_struct b/src/leap/mail/imap/tests/regressions_mime_struct
index 1e0e870..0332664 100755
--- a/src/leap/mail/imap/tests/regressions_mime_struct
+++ b/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()