]> code.delx.au - gnu-emacs/blobdiff - test/lisp/autorevert-tests.el
Fix Bug#22814
[gnu-emacs] / test / lisp / autorevert-tests.el
index b37850054faa55c817f70b915204ca2393bc9c5c..a6f8cb29563fa5a6da59889b10b446a392390036 100644 (file)
@@ -94,6 +94,7 @@
 ;; This is inspired by Bug#21841.
 (ert-deftest auto-revert-test01-auto-revert-several-files ()
   "Check autorevert for several files at once."
+  :tags '(:expensive-test)
   (skip-unless (executable-find "cp"))
 
   (let* ((cp (executable-find "cp"))
           ;; Strange, that `copy-directory' does not work as expected.
           ;; The following shell command is not portable on all
           ;; platforms, unfortunately.
-          (shell-command (format "%s %s/* %s" cp tmpdir2 tmpdir1))
+          (shell-command (format "%s -f %s/* %s" cp tmpdir2 tmpdir1))
 
           ;; Check, that the buffers have been reverted.
           (dolist (buf (list buf1 buf2))