1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-20 19:42:53 -08:00
emacs/test/lisp/eshell
Jim Porter bc0426ce8e Don't add an extraneous slash in remote PATH list in Eshell
Previously, in a remote directory, '(eshell-get-path)' would return a
list of strings like "/ssh:localhost://usr/bin".  While that shouldn't
break most things, it's not strictly correct either.  See bug#65551.

* lisp/eshell/esh-util.el (eshell-get-path): Use 'concat' instead of
'file-name-concat'.

* test/lisp/eshell/esh-util-tests.el: Require 'tramp' and
'eshell-tests-helpers'.
(esh-util-test/path/get, eshell-util-test/path/get-remote): New tests.
2023-08-27 12:49:25 -07:00
..
em-alias-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-basic-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-dirs-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-extpipe-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-glob-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-hist-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-ls-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-pred-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-script-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
em-tramp-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
esh-arg-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
esh-cmd-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
esh-ext-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
esh-io-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
esh-opt-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
esh-proc-tests.el Don't try to make a pipe process for remote processes in Eshell 2023-01-23 09:48:09 -08:00
esh-util-tests.el Don't add an extraneous slash in remote PATH list in Eshell 2023-08-27 12:49:25 -07:00
esh-var-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eshell-tests-helpers.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eshell-tests.el ; Make sure 'eshell-command' tests don't prompt the user 2023-04-01 10:28:02 -07:00