diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2024-06-02 04:02:18 +0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2024-06-02 04:08:30 +0200 |
commit | b1ae9c96a2244184aa8c0e1303e3bcc1e8d78117 (patch) | |
tree | b7ff82db3e4d012505599932a1d1cac8778d0468 | |
parent | 03c770626f56d3815433df59bbea8fbf932fe1e4 (diff) | |
download | blogc-main.tar.gz blogc-main.tar.bz2 blogc-main.zip |
tests: make: run a test in isolated environmentmain
-rwxr-xr-x | tests/blogc-make/check_blogc_make.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/blogc-make/check_blogc_make.sh.in b/tests/blogc-make/check_blogc_make.sh.in index 50af17c..2028100 100755 --- a/tests/blogc-make/check_blogc_make.sh.in +++ b/tests/blogc-make/check_blogc_make.sh.in @@ -38,7 +38,7 @@ run_from_make = true EOF set +e -${TESTS_ENVIRONMENT} ${BLOGC_MAKE} -f "${TEMP}/proj/blogcfile" 2>&1 | tee "${TEMP}/output.txt" +env -i ${TESTS_ENVIRONMENT} ${BLOGC_MAKE} -f "${TEMP}/proj/blogcfile" 2>&1 | tee "${TEMP}/output.txt" set -e grep "error: must run from " "${TEMP}/output.txt" |