diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-04-05 14:47:49 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-04-05 14:48:26 +0200 |
commit | 828928cc715e9d3ca4ae8630f9839a5cb81e293b (patch) | |
tree | 8c8dd16f280e6e00d3325b1d28e4f69ebff33137 /test/end-to-end/built-in-rules/export_counting.sh | |
parent | 469a7190bee490344d147099c3511fc45e2aadf0 (diff) | |
download | justbuild-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.sh | 2 |
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": |