From 8f3f785c555458f01759c376d700663e7d8dbc38 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Thu, 9 Dec 2021 20:11:40 +0100 Subject: [PATCH] Fix thinko in Tramp test * test/lisp/net/tramp-tests.el (tramp-test07-abbreviate-file-name): Fix thinko. --- test/lisp/net/tramp-tests.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 "~". -- 2.39.2