From: Michael Albinus Date: Thu, 9 Dec 2021 19:11:40 +0000 (+0100) Subject: Fix thinko in Tramp test X-Git-Tag: emacs-29.0.90~3607^2~1 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8f3f785c555458f01759c376d700663e7d8dbc38;p=emacs.git Fix thinko in Tramp test * test/lisp/net/tramp-tests.el (tramp-test07-abbreviate-file-name): Fix thinko. --- diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el index a572ff83d3f..9c65f9a6351 100644 --- a/test/lisp/net/tramp-tests.el +++ b/test/lisp/net/tramp-tests.el @@ -239,8 +239,7 @@ is greater than 10. (unwind-protect (progn ,@body) (tramp--test-message - "%s %f sec" - ,message (float-time (time-subtract nil start)))))) + "%s %f sec" ,message (float-time (time-subtract nil start)))))) ;; `always' is introduced with Emacs 28.1. (defalias 'tramp--test-always @@ -2291,7 +2290,7 @@ This checks also `file-name-as-directory', `file-name-directory', "Check that Tramp abbreviates file names correctly." (skip-unless (tramp--test-enabled)) (skip-unless (tramp--test-emacs29-p)) - (skip-unless (tramp--test-ange-ftp-p)) + (skip-unless (not (tramp--test-ange-ftp-p))) (let* ((remote-host (file-remote-p tramp-test-temporary-file-directory)) ;; Not all methods can expand "~".