From b1ae9c96a2244184aa8c0e1303e3bcc1e8d78117 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sun, 2 Jun 2024 04:02:18 +0200 Subject: tests: make: run a test in isolated environment --- tests/blogc-make/check_blogc_make.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3-18-g5258