diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/shadowfile-tests.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/lisp/shadowfile-tests.el b/test/lisp/shadowfile-tests.el index 085ab476ffe..0335caa5168 100644 --- a/test/lisp/shadowfile-tests.el +++ b/test/lisp/shadowfile-tests.el | |||
| @@ -720,6 +720,10 @@ guaranteed by the originator of a cluster definition." | |||
| 720 | (unwind-protect | 720 | (unwind-protect |
| 721 | (condition-case err | 721 | (condition-case err |
| 722 | (progn | 722 | (progn |
| 723 | (require 'trace) | ||
| 724 | (dolist (elt (all-completions "shadow-" obarray 'functionp)) | ||
| 725 | (trace-function-background (intern elt))) | ||
| 726 | (trace-function-background 'save-buffer) | ||
| 723 | ;; Cleanup. | 727 | ;; Cleanup. |
| 724 | (when (file-exists-p shadow-info-file) | 728 | (when (file-exists-p shadow-info-file) |
| 725 | (delete-file shadow-info-file)) | 729 | (delete-file shadow-info-file)) |
| @@ -817,6 +821,9 @@ guaranteed by the originator of a cluster definition." | |||
| 817 | shadow-files-to-copy))) | 821 | shadow-files-to-copy))) |
| 818 | (error (message "Error: %s" err) (signal (car err) (cdr err)))) | 822 | (error (message "Error: %s" err) (signal (car err) (cdr err)))) |
| 819 | 823 | ||
| 824 | (untrace-all) | ||
| 825 | (message "%s" (with-current-buffer trace-buffer (buffer-string))) | ||
| 826 | |||
| 820 | ;; Cleanup. | 827 | ;; Cleanup. |
| 821 | (when (file-exists-p shadow-info-file) | 828 | (when (file-exists-p shadow-info-file) |
| 822 | (delete-file shadow-info-file)) | 829 | (delete-file shadow-info-file)) |