]> git.eshelyaron.com Git - emacs.git/commitdiff
* test/lisp/eshell/em-ls-tests.el (em-ls-test-bug27844): Add debug.
authorGlenn Morris <rgm@gnu.org>
Thu, 13 Dec 2018 18:41:19 +0000 (13:41 -0500)
committerGlenn Morris <rgm@gnu.org>
Thu, 13 Dec 2018 18:41:19 +0000 (13:41 -0500)
test/lisp/eshell/em-ls-tests.el

index ea9dbff48fc57a9c5e8db66521e9bb3149a0073a..b89a54641bd008fe171545a5869971d1e627cf86 100644 (file)
           (should (cdr (dired-get-marked-files)))
           (kill-buffer buf)
           (setq buf (dired (expand-file-name "lisp/subr.el" source-directory)))
+          (when (getenv "EMACS_HYDRA_CI")
+            (message "X1%s" (buffer-substring-no-properties
+                             (point-min) (point-max)))
+            (message "X2%s" (buffer-substring-no-properties
+                             (line-beginning-position)
+                             (line-end-position)))
+            (message "X3%s" (buffer-substring-no-properties
+                             (point)
+                             (line-end-position))))
           (should (looking-at "subr\\.el")))
       (customize-set-variable 'eshell-ls-use-in-dired orig)
       (and (buffer-live-p buf) (kill-buffer)))))