diff options
| author | Michael Albinus | 2015-02-22 19:58:05 +0100 |
|---|---|---|
| committer | Michael Albinus | 2015-02-22 19:58:05 +0100 |
| commit | c7cdc8ed5bd80a80e0660e953da1497996ba284d (patch) | |
| tree | 602bd88be0ee179291a6b71491f312906844fab8 | |
| parent | 9f5a24a6fda0653cc1f60dc674bc06ec9aad1907 (diff) | |
| download | emacs-c7cdc8ed5bd80a80e0660e953da1497996ba284d.tar.gz emacs-c7cdc8ed5bd80a80e0660e953da1497996ba284d.zip | |
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.
| -rw-r--r-- | test/ChangeLog | 6 | ||||
| -rw-r--r-- | test/automated/tramp-tests.el | 5 |
2 files changed, 10 insertions, 1 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 87425a69148..abc582c20fa 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2015-02-22 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | * automated/tramp-tests.el (tramp-test17-insert-directory): | ||
| 4 | Suppress localized settings in order to have a proper check for | ||
| 5 | the summary line. | ||
| 6 | |||
| 1 | 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca> | 7 | 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 8 | ||
| 3 | * automated/eieio-test-methodinvoke.el (make-instance): Add methods | 9 | * 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'." | |||
| 927 | (skip-unless (tramp--test-enabled)) | 927 | (skip-unless (tramp--test-enabled)) |
| 928 | 928 | ||
| 929 | (let* ((tmp-name1 (tramp--test-make-temp-name)) | 929 | (let* ((tmp-name1 (tramp--test-make-temp-name)) |
| 930 | (tmp-name2 (expand-file-name "foo" tmp-name1))) | 930 | (tmp-name2 (expand-file-name "foo" tmp-name1)) |
| 931 | ;; We test for the summary line. Keyword "total" could be localized. | ||
| 932 | (process-environment | ||
| 933 | (append '("LANG=C" "LANGUAGE=C" "LC_ALL=C") process-environment))) | ||
| 931 | (unwind-protect | 934 | (unwind-protect |
| 932 | (progn | 935 | (progn |
| 933 | (make-directory tmp-name1) | 936 | (make-directory tmp-name1) |