From: Michael Albinus Date: Sun, 22 Feb 2015 18:58:05 +0000 (+0100) Subject: Suppress localized settings in Tramp test. X-Git-Tag: emacs-25.0.90~2564^2~318 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c7cdc8ed5bd80a80e0660e953da1497996ba284d;p=emacs.git 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. --- diff --git a/test/ChangeLog b/test/ChangeLog index 87425a69148..abc582c20fa 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,3 +1,9 @@ +2015-02-22 Michael Albinus + + * 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 * automated/eieio-test-methodinvoke.el (make-instance): Add methods diff --git a/test/automated/tramp-tests.el b/test/automated/tramp-tests.el index 2c4610c8113..3b72da8955a 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)