mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-17 10:06:13 +00:00
Improve em-ls-test-bug27844
* test/lisp/eshell/em-ls-tests.el (em-ls-test-bug27844): Skip if source-directory absent.
This commit is contained in:
parent
8a247f6059
commit
f318300959
@ -78,6 +78,11 @@
|
||||
|
||||
(ert-deftest em-ls-test-bug27844 ()
|
||||
"Test for https://debbugs.gnu.org/27844 ."
|
||||
;; FIXME: it would be better to use something other than source-directory
|
||||
;; in this test.
|
||||
(skip-unless (and source-directory
|
||||
(file-exists-p
|
||||
(expand-file-name "lisp/subr.el" source-directory))))
|
||||
(let ((orig eshell-ls-use-in-dired)
|
||||
(dired-use-ls-dired 'unspecified)
|
||||
buf insert-directory-program)
|
||||
|
Loading…
Reference in New Issue
Block a user