From a045db67a4b9e388e66dc80f33e8548465546fc4 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Wed, 23 Apr 2025 09:33:56 +0200 Subject: Make end-to-end tests independent of the user's configuration End-to-end tests should, like all tests, be independent of any non-project files the user has in their home directory. This also applies when running the tests locally. In particular, end-to-end tests should not read the user's ~/.just-mrrc. Therefore, properly set --norc in all end-to-end tests (where this is not already the case). --- test/end-to-end/built-in-rules/generic_conflict.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/end-to-end/built-in-rules') diff --git a/test/end-to-end/built-in-rules/generic_conflict.sh b/test/end-to-end/built-in-rules/generic_conflict.sh index fbb8470c..6d9f8ca0 100644 --- a/test/end-to-end/built-in-rules/generic_conflict.sh +++ b/test/end-to-end/built-in-rules/generic_conflict.sh @@ -59,13 +59,13 @@ EOF echo echo local file should analyse fine echo -"${JUST_MR}" --just "${JUST}" --local-build-root "${LBRDIR}" \ +"${JUST_MR}" --norc --just "${JUST}" --local-build-root "${LBRDIR}" \ analyse data 2>&1 echo echo The default target should detect a staging conflict echo -"${JUST_MR}" --just "${JUST}" --local-build-root "${LBRDIR}" \ +"${JUST_MR}" --norc --just "${JUST}" --local-build-root "${LBRDIR}" \ analyse -f log --dump-actions - 2>&1 && exit 1 || : echo -- cgit v1.2.3