* test/lisp/dired-tests.el (dired-test-bug25609): On MS-Windows,
pass temporary files through file-truename, to avoid bogus
failures due to file-name comparison as strings.
(ert-deftest dired-test-bug25609 ()
"Test for http://debbugs.gnu.org/25609 ."
(let* ((from (make-temp-file "foo" 'dir))
+ ;; Make sure we have long file-names in 'from' and 'to', not
+ ;; their 8+3 short aliases, because the latter will confuse
+ ;; Dired commands invoked below.
+ (from (if (memq system-type '(ms-dos windows-nt))
+ (file-truename from)
+ from))
(to (make-temp-file "bar" 'dir))
+ (to (if (memq system-type '(ms-dos windows-nt))
+ (file-truename to)
+ to))
(target (expand-file-name (file-name-nondirectory from) to))
(nested (expand-file-name (file-name-nondirectory from) target))
(dired-dwim-target t)