Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Dump of backlogged commits coming

Yes, that WFM.  As you surmised, my build directory is not the same as my source directory.


On Tue, Sep 7, 2021 at 4:43 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
On Tue, Sep 7, 2021 at 6:28 AM Vin Shelton <acs@xxxxxxxxxxxxxxxxxxxx> wrote:
> Perhaps one of these commits is the reason for this test failure:

Yes, that would be this one:

        * Marlon Richert: 49218: Functions/Misc/run-help,
        Functions/Misc/run-help-btrfs, Functions/Misc/run-help-git,
        Functions/Misc/run-help-ip, Functions/Misc/run-help-p4,
        Functions/Misc/run-help-svk, Functions/Misc/run-help-svn:
        run-help filters cmd_args before calling run-help-<command>

The Z03 test is new (I missed adding it to the ChangeLog entry) and
does not handle separation of source tree / build tree.

Does this fix it?

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 @@
   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' )

Messages sorted by: Reverse Date, Date, Thread, Author