aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToon Claes <toon@iotcl.com>2025-08-08 11:59:42 +0200
committerJunio C Hamano <gitster@pobox.com>2025-08-08 09:12:16 -0700
commitf175b349a579e19cde1afe87d3be0d1f8358853c (patch)
treeaaec228a594590d246c5148edb513f39c9d8598a
parent16bd9f20a403117f2e0d9bcda6c6e621d3763e77 (diff)
downloadgit-f175b349a579e19cde1afe87d3be0d1f8358853c.tar.gz
t0450: fix test for out-of-tree builds
When using Meson, builds are out-of-tree and $GIT_BUILD_DIR gets set to the path where the build output is landing. To locate the Documentation sources, test 't0450' was using that path. Modify test 't0450' to use `$GIT_SOURCE_DIR/Documentation` to find the documentation sources. Signed-off-by: Toon Claes <toon@iotcl.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xt/t0450-txt-doc-vs-help.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0450-txt-doc-vs-help.sh b/t/t0450-txt-doc-vs-help.sh
index 2f7504ae7e..da2d0af5b0 100755
--- a/t/t0450-txt-doc-vs-help.sh
+++ b/t/t0450-txt-doc-vs-help.sh
@@ -41,7 +41,7 @@ help_to_synopsis () {
}
builtin_to_adoc () {
- echo "$GIT_BUILD_DIR/Documentation/git-$1.adoc"
+ echo "$GIT_SOURCE_DIR/Documentation/git-$1.adoc"
}
adoc_to_synopsis () {