aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2018-07-25 20:48:10 +0200
committerMichael Albinus2018-07-25 20:48:10 +0200
commit7d96ed541c242cb0ede4ca34df6ff97f432ac5e6 (patch)
tree5490d2b768c5b96a1f8cde15d1e75d3e09f7dc07
parentc67407e7520a97a92737200bf559c48a927db470 (diff)
downloademacs-7d96ed541c242cb0ede4ca34df6ff97f432ac5e6.tar.gz
emacs-7d96ed541c242cb0ede4ca34df6ff97f432ac5e6.zip
; More instrumentation for shadowfile-tests.el
-rw-r--r--test/lisp/shadowfile-tests.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/lisp/shadowfile-tests.el b/test/lisp/shadowfile-tests.el
index c38d49e61f2..a302b1cdacb 100644
--- a/test/lisp/shadowfile-tests.el
+++ b/test/lisp/shadowfile-tests.el
@@ -704,6 +704,7 @@ guaranteed by the originator of a cluster definition."
704 (when (file-exists-p shadow-todo-file) 704 (when (file-exists-p shadow-todo-file)
705 (delete-file shadow-todo-file)) 705 (delete-file shadow-todo-file))
706 706
707 (message "Point 1")
707 ;; Define clusters. 708 ;; Define clusters.
708 (setq cluster1 "cluster1" 709 (setq cluster1 "cluster1"
709 primary shadow-system-name 710 primary shadow-system-name
@@ -716,6 +717,7 @@ guaranteed by the originator of a cluster definition."
716 regexp (shadow-regexp-superquote primary)) 717 regexp (shadow-regexp-superquote primary))
717 (shadow-set-cluster cluster2 primary regexp) 718 (shadow-set-cluster cluster2 primary regexp)
718 719
720 (message "Point 2")
719 ;; Define a literal group. 721 ;; Define a literal group.
720 (setq file 722 (setq file
721 (make-temp-name 723 (make-temp-name
@@ -723,6 +725,7 @@ guaranteed by the originator of a cluster definition."
723 shadow-literal-groups 725 shadow-literal-groups
724 `((,(concat "/cluster1:" file) ,(concat "/cluster2:" file)))) 726 `((,(concat "/cluster1:" file) ,(concat "/cluster2:" file))))
725 727
728 (message "Point 3")
726 ;; Save file from "cluster1" definition. 729 ;; Save file from "cluster1" definition.
727 (with-temp-buffer 730 (with-temp-buffer
728 (setq buffer-file-name file) 731 (setq buffer-file-name file)
@@ -733,6 +736,7 @@ guaranteed by the originator of a cluster definition."
733 (cons file (shadow-contract-file-name (concat "/cluster2:" file))) 736 (cons file (shadow-contract-file-name (concat "/cluster2:" file)))
734 shadow-files-to-copy)) 737 shadow-files-to-copy))
735 738
739 (message "Point 4")
736 ;; Save file from "cluster2" definition. 740 ;; Save file from "cluster2" definition.
737 (with-temp-buffer 741 (with-temp-buffer
738 (setq buffer-file-name (concat (shadow-site-primary cluster2) file)) 742 (setq buffer-file-name (concat (shadow-site-primary cluster2) file))
@@ -745,6 +749,7 @@ guaranteed by the originator of a cluster definition."
745 (shadow-contract-file-name (concat "/cluster1:" file))) 749 (shadow-contract-file-name (concat "/cluster1:" file)))
746 shadow-files-to-copy)) 750 shadow-files-to-copy))
747 751
752 (message "Point 5")
748 ;; Define a regexp group. 753 ;; Define a regexp group.
749 (setq shadow-files-to-copy nil 754 (setq shadow-files-to-copy nil
750 shadow-regexp-groups 755 shadow-regexp-groups
@@ -753,6 +758,7 @@ guaranteed by the originator of a cluster definition."
753 ,(concat (shadow-site-primary cluster2) 758 ,(concat (shadow-site-primary cluster2)
754 (shadow-regexp-superquote file))))) 759 (shadow-regexp-superquote file)))))
755 760
761 (message "Point 6")
756 ;; Save file from "cluster1" definition. 762 ;; Save file from "cluster1" definition.
757 (with-temp-buffer 763 (with-temp-buffer
758 (setq buffer-file-name file) 764 (setq buffer-file-name file)
@@ -763,6 +769,7 @@ guaranteed by the originator of a cluster definition."
763 (cons file (shadow-contract-file-name (concat "/cluster2:" file))) 769 (cons file (shadow-contract-file-name (concat "/cluster2:" file)))
764 shadow-files-to-copy)) 770 shadow-files-to-copy))
765 771
772 (message "Point 7")
766 ;; Save file from "cluster2" definition. 773 ;; Save file from "cluster2" definition.
767 (with-temp-buffer 774 (with-temp-buffer
768 (setq buffer-file-name (concat (shadow-site-primary cluster2) file)) 775 (setq buffer-file-name (concat (shadow-site-primary cluster2) file))