From 960621278dfa8e66bde29025f500de1c4eb4d472 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Thu, 5 Jun 2025 15:54:11 +0200 Subject: test ["end-to-end/git-import", "computed"]: move to subdir This test uses a file repository at "." with the "to_git" pragma. Now, if we build the tool to be tested in debug mode, the sources end up in the test's action directory. If we take the work dir of the simulated use case top level, all these sources end up unnecessarily in the workspace root of the test repo. Avoid this overhead by moving to a subdirectory. --- test/end-to-end/git-import/computed.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/end-to-end/git-import/computed.sh b/test/end-to-end/git-import/computed.sh index fec00e56..8877472c 100644 --- a/test/end-to-end/git-import/computed.sh +++ b/test/end-to-end/git-import/computed.sh @@ -23,7 +23,7 @@ readonly JUST_MR="${PWD}/bin/mr-tool-under-test" readonly LBR="${TEST_TMPDIR}/local-build-root" readonly OUT="${TEST_TMPDIR}/build-output" readonly REPO_DIRS="${TEST_TMPDIR}/repos" -readonly WRKDIR="${PWD}" +readonly WRKDIR="${PWD}/work" # Set up repo foo mkdir -p "${REPO_DIRS}/foo/src" -- cgit v1.2.3