Fix em-extpipe-tests on MS-Windows
* test/lisp/eshell/em-extpipe-tests.el (em-extpipe-test-14): Fix test on MS-Windows (bug#71446).
This commit is contained in:
parent
13c4fc3dc7
commit
2c201bbba5
1 changed files with 5 additions and 1 deletions
|
@ -181,7 +181,11 @@
|
|||
(skip-unless (executable-find "tac"))
|
||||
(should-parse '(eshell-named-command "sh" (list "-c" "tac <temp")))
|
||||
(with-substitute-for-temp
|
||||
(with-temp-buffer (insert "bar\nbaz\n") (write-file temp))
|
||||
(with-temp-buffer
|
||||
(insert "bar\nbaz\n")
|
||||
;; Some versions of 'tac' on MS-Windows need Unix EOLs...
|
||||
(let ((coding-system-for-write 'unix))
|
||||
(write-file temp)))
|
||||
(eshell-match-command-output input "baz\nbar")))
|
||||
|
||||
(em-extpipe-tests--deftest em-extpipe-test-15 "echo \"bar\" *| cat"
|
||||
|
|
Loading…
Add table
Reference in a new issue