From: Michael Albinus Date: Wed, 25 Jul 2018 20:04:34 +0000 (+0200) Subject: ; More instrumentation for shadowfile-tests.el X-Git-Tag: emacs-27.0.90~4664^2~27 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=244b6827257fb0ec9c14f19b9dd01a0e1bee1d75;p=emacs.git ; More instrumentation for shadowfile-tests.el --- diff --git a/test/lisp/shadowfile-tests.el b/test/lisp/shadowfile-tests.el index a302b1cdacb..83e9a36af31 100644 --- a/test/lisp/shadowfile-tests.el +++ b/test/lisp/shadowfile-tests.el @@ -731,6 +731,9 @@ guaranteed by the originator of a cluster definition." (setq buffer-file-name file) (insert "foo") (save-buffer)) + (message "%s" file) + (message "%s" (shadow-contract-file-name (concat "/cluster2:" file))) + (message "%s" shadow-files-to-copy) (should (member (cons file (shadow-contract-file-name (concat "/cluster2:" file))) @@ -739,9 +742,15 @@ guaranteed by the originator of a cluster definition." (message "Point 4") ;; Save file from "cluster2" definition. (with-temp-buffer - (setq buffer-file-name (concat (shadow-site-primary cluster2) file)) + (message "Point 4.1") + (setq buffer-file-name (concat (shadow-site-primary cluster2) file)) + (message "Point 4.2") (insert "foo") (save-buffer)) + (message "Point 4.3") + (message "%s" (shadow-site-primary cluster2)) + (message "%s" (shadow-contract-file-name (concat "/cluster1:" file))) + (message "%s" shadow-files-to-copy) (should (member (cons