From: Rob Browning Date: Mon, 17 Dec 2018 21:09:12 +0000 (-0600) Subject: tramp-test42-remote-load-path: regexp-quote directory X-Git-Tag: archive/raspbian/1%26.1+1-3+rpi1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=52a458117541329be17dc46af1c6fefe6b34c8d3;p=emacs.git tramp-test42-remote-load-path: regexp-quote directory Otherwise the test may fail for some paths like those seen in a Debian sbuild chroot, e.g. build/emacs-i87jK3/emacs-26.1+1/... Gbp-Pq: Name 0011-tramp-test42-remote-load-path-regexp-quote-directory.patch --- diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index 996a31d375f..60f2aaf034b 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el @@ -4702,8 +4702,9 @@ process sentinels. They shall not disturb each other." (string-match (format "Loading %s" - (expand-file-name - "tramp-cmds" (file-name-directory (locate-library "tramp")))) + (regexp-quote + (expand-file-name + "tramp-cmds" (file-name-directory (locate-library "tramp"))))) (shell-command-to-string (format "%s -batch -Q -L %s -l tramp-sh --eval %s"