testenv: include same vars as real test environment

Closes: #325
Approved by: cgwalters
This commit is contained in:
Jonathan Lebon 2016-06-15 16:02:36 -04:00 committed by Atomic Bot
parent f83909a02d
commit f411c0babb

View File

@ -86,7 +86,8 @@ testenv:
@echo "===== ENTERING TESTENV ====="
test_tmpdir=$$(mktemp -d test.XXXXXX) && \
cd $$test_tmpdir && \
TESTENV=1 sh ../tests/utils/setup-session.sh bash && \
env $(AM_TESTS_ENVIRONMENT) TESTENV=1 \
sh ../tests/utils/setup-session.sh bash && \
cd .. && \
rm -rf $$test_tmpdir
@echo "===== LEAVING TESTENV ====="