From 828928cc715e9d3ca4ae8630f9839a5cb81e293b Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Fri, 5 Apr 2024 14:47:49 +0200 Subject: Test ["end-to-end/built-in-rules","export_counting"]: avoid unnecessary IO operations This test creates a "file" repository with pragma "to_git". Move to a subdirectory to avoid including all the tools in that created root. --- test/end-to-end/built-in-rules/export_counting.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/end-to-end/built-in-rules/export_counting.sh') diff --git a/test/end-to-end/built-in-rules/export_counting.sh b/test/end-to-end/built-in-rules/export_counting.sh index a24c502a..87997ea1 100644 --- a/test/end-to-end/built-in-rules/export_counting.sh +++ b/test/end-to-end/built-in-rules/export_counting.sh @@ -21,6 +21,8 @@ readonly JUST_MR="${PWD}/bin/mr-tool-under-test" readonly LBR="${TMPDIR}/local-build-root" readonly LOG="${TMPDIR}/log.txt" +mkdir work && cd work + touch ROOT cat <<'EOF' > repos.json { "repositories": -- cgit v1.2.3