about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Test/Z03run-help.ztst2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 52f97174d..e96375cab 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2021-09-08  Bart Schaefer  <schaefer@zsh.org>
+
+	* 49386: Test/Z03run-help.ztst: handle separate source/build trees
+
 2021-09-08  Jun-ichi Takimoto  <takimoto-j@kba.biglobe.ne.jp>
 
 	* unposted: Src/Modules/db_gdbm.c, Src/Modules/files.c,
diff --git a/Test/Z03run-help.ztst b/Test/Z03run-help.ztst
index 2bb3bceed..ca8ba4d04 100644
--- a/Test/Z03run-help.ztst
+++ b/Test/Z03run-help.ztst
@@ -1,7 +1,7 @@
 %prep
   PAGER=cat
   unalias run-help
-  autoload +X -Uz $PWD/../Functions/Misc/run-help*
+  autoload +X -Uz ${^fpath}/run-help*(N)
   builtin() {
     case "$1 $2" in
       ( 'getln cmd_args' )