|
From: | Jim Porter |
Subject: | Re: Shell quoting in Eshell (was: eshell-batch-file) |
Date: | Sat, 15 Jun 2024 13:06:53 -0700 |
On 6/15/2024 12:10 PM, Eli Zaretskii wrote:
Test esh-cmd-test/which/plain/external-program condition:
[snip]
:value nil :explanation (nonequal-result (command "which sh") (result #("D:/usr/MSYS/bin/sh.exe\n" 22 23 ...)) (expected "d:/usr/MSYS/bin/sh.exe\n")))) FAILED 59/66 esh-cmd-test/which/plain/external-program (0.003953 sec) at lisp/eshell/esh-cmd-tests.el:538 IOW: you run "which SOMETHING" and pretend to know how it will capitalize the drive letter.
Ah ha! If that's the only failure, then I think this would work? (If there are other failures, then I could add a PREDICATE argument to 'eshell-command-result-equal' and use that in the necessary places.)
eshell-which.diff
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |