summaryrefslogtreecommitdiff
path: root/test/end-to-end/built-in-rules/export_counting.sh
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-04-05 14:47:49 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-04-05 14:48:26 +0200
commit828928cc715e9d3ca4ae8630f9839a5cb81e293b (patch)
tree8c8dd16f280e6e00d3325b1d28e4f69ebff33137 /test/end-to-end/built-in-rules/export_counting.sh
parent469a7190bee490344d147099c3511fc45e2aadf0 (diff)
downloadjustbuild-828928cc715e9d3ca4ae8630f9839a5cb81e293b.tar.gz
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.
Diffstat (limited to 'test/end-to-end/built-in-rules/export_counting.sh')
-rw-r--r--test/end-to-end/built-in-rules/export_counting.sh2
1 files changed, 2 insertions, 0 deletions
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":