aboutsummaryrefslogtreecommitdiffstats
path: root/test/lisp/vc
diff options
context:
space:
mode:
authorJuri Linkov2019-02-03 23:00:29 +0200
committerJuri Linkov2019-02-03 23:00:29 +0200
commit4633b0ef3ff7fc8ac013e4236edf782fb3cadfb4 (patch)
tree86b978e4f2cd9f5fc9c6620a24b015856b004b0d /test/lisp/vc
parentb32ac17c32486d8fce0fb9ecd5e09fe324448d3d (diff)
downloademacs-4633b0ef3ff7fc8ac013e4236edf782fb3cadfb4.tar.gz
emacs-4633b0ef3ff7fc8ac013e4236edf782fb3cadfb4.zip
* lisp/tar-mode.el (tar-extract): Call tar--try-jka-compr (bug#34251)
* lisp/tar-mode.el (tar--try-jka-compr): New function copied from archive-try-jka-compr. * lisp/arc-mode.el (archive-try-jka-compr): Set buffer-multibyte to t instead of let-binding coding-system-for-read to 'no-conversion. * test/data/decompress/tg.tar.gz: * test/data/decompress/zg.zip: New fixtures. * test/lisp/arc-mode-tests.el (arc-mode-test-zip-extract-gz): * test/lisp/tar-mode-tests.el (tar-mode-test-tar-extract-gz): New tests. * test/lisp/vc/diff-mode-tests.el (diff-mode-test-font-lock) (diff-mode-test-font-lock-syntax-one-line): Skip unless shell and diff executables are found.
Diffstat (limited to 'test/lisp/vc')
-rw-r--r--test/lisp/vc/diff-mode-tests.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lisp/vc/diff-mode-tests.el b/test/lisp/vc/diff-mode-tests.el
index 8e690548f05..8695d958bac 100644
--- a/test/lisp/vc/diff-mode-tests.el
+++ b/test/lisp/vc/diff-mode-tests.el
@@ -204,6 +204,8 @@ youthfulness
204 204
205(ert-deftest diff-mode-test-font-lock () 205(ert-deftest diff-mode-test-font-lock ()
206 "Check font-locking of diff hunks." 206 "Check font-locking of diff hunks."
207 (skip-unless (executable-find shell-file-name))
208 (skip-unless (executable-find diff-command))
207 (let ((default-directory diff-mode-tests--datadir) 209 (let ((default-directory diff-mode-tests--datadir)
208 (old "hello_world.c") 210 (old "hello_world.c")
209 (new "hello_emacs.c") 211 (new "hello_emacs.c")
@@ -263,6 +265,8 @@ youthfulness
263 265
264(ert-deftest diff-mode-test-font-lock-syntax-one-line () 266(ert-deftest diff-mode-test-font-lock-syntax-one-line ()
265 "Check diff syntax highlighting for one line with no newline at end." 267 "Check diff syntax highlighting for one line with no newline at end."
268 (skip-unless (executable-find shell-file-name))
269 (skip-unless (executable-find diff-command))
266 (let ((default-directory diff-mode-tests--datadir) 270 (let ((default-directory diff-mode-tests--datadir)
267 (old "hello_world_1.c") 271 (old "hello_world_1.c")
268 (new "hello_emacs_1.c") 272 (new "hello_emacs_1.c")