From 78bfcb6e6c31670d2188235c4acef047999cfc4e Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Wed, 22 Nov 2023 12:34:22 +0100 Subject: Test ["end-to-end/gc", "export"]: fix workspace layout This end-to-end test, of course, depends on the tools, provided inside the test's working directory. The test, being end to end, constructs a workspace with multi-repository configuration with the main repo a file repsoitory at the root of the constructed work space; to be able to test exporting this repository has pragma "to_git". Move the constructed work space to sub directory to not include the tools to be tested in the work space that is gitified; one the one hand, the tested tools should not be part of the test workspace and on the other hand, this shaves off a large fraction of the test's run time. --- test/end-to-end/gc/export.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') diff --git a/test/end-to-end/gc/export.sh b/test/end-to-end/gc/export.sh index 15b151ef..87ec32fd 100644 --- a/test/end-to-end/gc/export.sh +++ b/test/end-to-end/gc/export.sh @@ -39,6 +39,8 @@ echo -n World > $1/hello/world/tree/name.txt EOF chmod 755 "${TOOLS_DIR}/tree" +mkdir work +cd work touch WORKSPACE cat > TARGETS <<'EOF' -- cgit v1.2.3