aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMichael Albinus2018-08-10 13:34:10 +0200
committerMichael Albinus2018-08-10 13:34:10 +0200
commit243b68f73ff7cbb4d89a3f4a15a1cd38cfc14fae (patch)
tree49b89402bdfe549fe0ed64fdfe0c7d30e1fbf1db /test
parent7fbf1247964cbfbbda207e34bfcd5c1863608e74 (diff)
downloademacs-243b68f73ff7cbb4d89a3f4a15a1cd38cfc14fae.tar.gz
emacs-243b68f73ff7cbb4d89a3f4a15a1cd38cfc14fae.zip
; More instrumentation for shadowfile-tests.el and files.el
* test/lisp/shadowfile-tests.el (shadow-test06-literal-groups) (shadow-test07-regexp-groups, shadow-test08-shadow-todo) (shadow-test09-shadow-copy-files): Use `set-visited-file-name' instead of setting the value in `buffer-file-name' directly. (Bug#32226)
Diffstat (limited to 'test')
-rw-r--r--test/lisp/shadowfile-tests.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lisp/shadowfile-tests.el b/test/lisp/shadowfile-tests.el
index c549ad79a4c..f93845da61e 100644
--- a/test/lisp/shadowfile-tests.el
+++ b/test/lisp/shadowfile-tests.el
@@ -724,6 +724,9 @@ guaranteed by the originator of a cluster definition."
724 (dolist (elt (all-completions "shadow-" obarray 'functionp)) 724 (dolist (elt (all-completions "shadow-" obarray 'functionp))
725 (trace-function-background (intern elt))) 725 (trace-function-background (intern elt)))
726 (trace-function-background 'save-buffer) 726 (trace-function-background 'save-buffer)
727 (trace-function-background 'basic-save-buffer)
728 (trace-function-background 'basic-save-buffer-1)
729 (trace-function-background 'basic-save-buffer-2)
727 (dolist (elt write-file-functions) 730 (dolist (elt write-file-functions)
728 (trace-function-background elt)) 731 (trace-function-background elt))
729 ;; Cleanup. 732 ;; Cleanup.