aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
authorEli Zaretskii2017-09-20 10:16:11 +0300
committerEli Zaretskii2017-09-20 10:16:11 +0300
commitf16a8d5dbd3bb8a319c951bdde9a6a75dbdb8c17 (patch)
treec213182ee3b2e4098dfe8f1b8b35a3b7d11731f7 /test/src
parent965cffd89cd5727c46a1b0999bef440f8e316742 (diff)
downloademacs-f16a8d5dbd3bb8a319c951bdde9a6a75dbdb8c17.tar.gz
emacs-f16a8d5dbd3bb8a319c951bdde9a6a75dbdb8c17.zip
Fix 2 testsuite tests for MS-Windows
* test/lisp/ibuffer-tests.el (test-buffer-list): Don't try to create files with "*" in their names. * test/src/editfns-tests.el (format-time-string-with-zone): Adapt results to MS-Windows build. Reported by Fabrice Popineau <fabrice.popineau@gmail.com>.
Diffstat (limited to 'test/src')
-rw-r--r--test/src/editfns-tests.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/src/editfns-tests.el b/test/src/editfns-tests.el
index f910afaf711..70dc9372fad 100644
--- a/test/src/editfns-tests.el
+++ b/test/src/editfns-tests.el
@@ -169,7 +169,11 @@
169 ;; Negative UTC offset, as a Lisp integer. 169 ;; Negative UTC offset, as a Lisp integer.
170 (should (string-equal 170 (should (string-equal
171 (format-time-string format look -28800) 171 (format-time-string format look -28800)
172 "1972-06-30 15:59:59.999 -0800 (-08)")) 172 ;; MS-Windows build replaces unrecognizable TZ values,
173 ;; such as "-08", with "ZZZ".
174 (if (eq system-type 'windows-nt)
175 "1972-06-30 15:59:59.999 -0800 (ZZZ)"
176 "1972-06-30 15:59:59.999 -0800 (-08)")))
173 ;; Positive UTC offset that is not an hour multiple, as a string. 177 ;; Positive UTC offset that is not an hour multiple, as a string.
174 (should (string-equal 178 (should (string-equal
175 (format-time-string format look "IST-5:30") 179 (format-time-string format look "IST-5:30")