diff options
| author | Michael Albinus | 2018-07-25 22:04:34 +0200 |
|---|---|---|
| committer | Michael Albinus | 2018-07-25 22:04:34 +0200 |
| commit | 244b6827257fb0ec9c14f19b9dd01a0e1bee1d75 (patch) | |
| tree | f7fec661fcc4a2769f00a8307291ad5c58c151ce | |
| parent | a3b32a8be1e01ba10ecae9abc27214298467c995 (diff) | |
| download | emacs-244b6827257fb0ec9c14f19b9dd01a0e1bee1d75.tar.gz emacs-244b6827257fb0ec9c14f19b9dd01a0e1bee1d75.zip | |
; More instrumentation for shadowfile-tests.el
| -rw-r--r-- | test/lisp/shadowfile-tests.el | 11 |
1 files changed, 10 insertions, 1 deletions
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." | |||
| 731 | (setq buffer-file-name file) | 731 | (setq buffer-file-name file) |
| 732 | (insert "foo") | 732 | (insert "foo") |
| 733 | (save-buffer)) | 733 | (save-buffer)) |
| 734 | (message "%s" file) | ||
| 735 | (message "%s" (shadow-contract-file-name (concat "/cluster2:" file))) | ||
| 736 | (message "%s" shadow-files-to-copy) | ||
| 734 | (should | 737 | (should |
| 735 | (member | 738 | (member |
| 736 | (cons file (shadow-contract-file-name (concat "/cluster2:" file))) | 739 | (cons file (shadow-contract-file-name (concat "/cluster2:" file))) |
| @@ -739,9 +742,15 @@ guaranteed by the originator of a cluster definition." | |||
| 739 | (message "Point 4") | 742 | (message "Point 4") |
| 740 | ;; Save file from "cluster2" definition. | 743 | ;; Save file from "cluster2" definition. |
| 741 | (with-temp-buffer | 744 | (with-temp-buffer |
| 742 | (setq buffer-file-name (concat (shadow-site-primary cluster2) file)) | 745 | (message "Point 4.1") |
| 746 | (setq buffer-file-name (concat (shadow-site-primary cluster2) file)) | ||
| 747 | (message "Point 4.2") | ||
| 743 | (insert "foo") | 748 | (insert "foo") |
| 744 | (save-buffer)) | 749 | (save-buffer)) |
| 750 | (message "Point 4.3") | ||
| 751 | (message "%s" (shadow-site-primary cluster2)) | ||
| 752 | (message "%s" (shadow-contract-file-name (concat "/cluster1:" file))) | ||
| 753 | (message "%s" shadow-files-to-copy) | ||
| 745 | (should | 754 | (should |
| 746 | (member | 755 | (member |
| 747 | (cons | 756 | (cons |