]> git.eshelyaron.com Git - emacs.git/commitdiff
Suppress localized settings in Tramp test.
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 22 Feb 2015 18:58:05 +0000 (19:58 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 22 Feb 2015 18:58:05 +0000 (19:58 +0100)
* automated/tramp-tests.el (tramp-test17-insert-directory):
Suppress localized settings in order to have a proper check for
the summary line.

test/ChangeLog
test/automated/tramp-tests.el

index 87425a69148ab15b0f603ae0ff654917f60b82df..abc582c20fa99e0fe887634a3d87a3aac440c02f 100644 (file)
@@ -1,3 +1,9 @@
+2015-02-22  Michael Albinus  <michael.albinus@gmx.de>
+
+       * automated/tramp-tests.el (tramp-test17-insert-directory):
+       Suppress localized settings in order to have a proper check for
+       the summary line.
+
 2015-02-16  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * automated/eieio-test-methodinvoke.el (make-instance): Add methods
index 2c4610c811331909cc88b4ec587c7bbab99f5704..3b72da8955a4e2e3a3fc021974446a9761c6cc92 100644 (file)
@@ -927,7 +927,10 @@ This tests also `file-directory-p' and `file-accessible-directory-p'."
   (skip-unless (tramp--test-enabled))
 
   (let* ((tmp-name1 (tramp--test-make-temp-name))
-        (tmp-name2 (expand-file-name "foo" tmp-name1)))
+        (tmp-name2 (expand-file-name "foo" tmp-name1))
+        ;; We test for the summary line.  Keyword "total" could be localized.
+        (process-environment
+         (append '("LANG=C" "LANGUAGE=C" "LC_ALL=C") process-environment)))
     (unwind-protect
        (progn
          (make-directory tmp-name1)