emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master c7cdc8e: Suppress localized settings in Tramp test.


From: Michael Albinus
Subject: [Emacs-diffs] master c7cdc8e: Suppress localized settings in Tramp test.
Date: Sun, 22 Feb 2015 18:58:15 +0000

branch: master
commit c7cdc8ed5bd80a80e0660e953da1497996ba284d
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>

    Suppress localized settings in Tramp test.
    
    * automated/tramp-tests.el (tramp-test17-insert-directory):
    Suppress localized settings in order to have a proper check for
    the summary line.
---
 test/ChangeLog                |    6 ++++++
 test/automated/tramp-tests.el |    5 ++++-
 2 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/test/ChangeLog b/test/ChangeLog
index 87425a6..abc582c 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,9 @@
+2015-02-22  Michael Albinus  <address@hidden>
+
+       * 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  <address@hidden>
 
        * automated/eieio-test-methodinvoke.el (make-instance): Add methods
diff --git a/test/automated/tramp-tests.el b/test/automated/tramp-tests.el
index 2c4610c..3b72da8 100644
--- a/test/automated/tramp-tests.el
+++ b/test/automated/tramp-tests.el
@@ -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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]