]> git.eshelyaron.com Git - emacs.git/commitdiff
Mark failing fileio test on MS-Windows
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 29 Aug 2020 20:34:06 +0000 (13:34 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 29 Aug 2020 20:34:40 +0000 (13:34 -0700)
* test/src/fileio-tests.el (fileio-tests--HOME-trailing-slash):
Expect failure on MS-Windows.

test/src/fileio-tests.el

index 7baa4c7e2faaff7caa549bdf1470ab29f5ad107b..bedda83bbdb6df3128389e0673626a598aa9b426 100644 (file)
@@ -109,6 +109,9 @@ Also check that an encoding error can appear in a symlink."
 
 (ert-deftest fileio-tests--HOME-trailing-slash ()
   "Test that expand-file-name of \"~\" respects trailing slash."
+  :expected-result (if (memq system-type '(windows-nt ms-dos))
+                       :failed
+                     :passed)
   (let ((process-environment (copy-sequence process-environment)))
     (dolist (home
              (if (memq system-type '(windows-nt ms-dos))