diff options
| author | Joakim Verona | 2015-01-25 02:11:31 +0100 |
|---|---|---|
| committer | Joakim Verona | 2015-01-25 02:11:31 +0100 |
| commit | e5087278b9bcab5847ce63d80c0d74c27f50e719 (patch) | |
| tree | c9ad8959e81033cb3423a25496ea4c411b212461 /test | |
| parent | bdd672b275034e8c1c65992f2e21dac7cc6eba60 (diff) | |
| parent | bce27d884521832a62837b113f4e681974cdaccb (diff) | |
| download | emacs-e5087278b9bcab5847ce63d80c0d74c27f50e719.tar.gz emacs-e5087278b9bcab5847ce63d80c0d74c27f50e719.zip | |
merge master
Diffstat (limited to 'test')
| -rw-r--r-- | test/ChangeLog | 10 | ||||
| -rw-r--r-- | test/automated/package-test.el | 7 |
2 files changed, 12 insertions, 5 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index af36b5d2bde..5a4e616f6c6 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,4 +1,12 @@ | |||
| 1 | 2015-01-20 Jorgen Schaefer <contact@jorgenschaefer.de> | 1 | 2015-01-23 Dmitry Gutov <dgutov@yandex.ru> |
| 2 | |||
| 3 | Fix package tests when TMPDIR is in HOME. (Bug#19657) | ||
| 4 | * automated/package-test.el (with-package-test): | ||
| 5 | Bind `abbreviated-home-dir' to nil. | ||
| 6 | (package-test-describe-package, package-test-signed): | ||
| 7 | Expect abbreviated directory names. | ||
| 8 | |||
| 9 | 2015-01-22 Jorgen Schaefer <contact@jorgenschaefer.de> | ||
| 2 | 10 | ||
| 3 | * automated/package-test.el (package-test-install-prioritized): | 11 | * automated/package-test.el (package-test-install-prioritized): |
| 4 | Re-add the test case and add priority to the correct repository | 12 | Re-add the test case and add priority to the correct repository |
diff --git a/test/automated/package-test.el b/test/automated/package-test.el index 3ea13dee4ad..a8488652c2f 100644 --- a/test/automated/package-test.el +++ b/test/automated/package-test.el | |||
| @@ -95,6 +95,7 @@ | |||
| 95 | (package-archives `(("gnu" . ,package-test-data-dir))) | 95 | (package-archives `(("gnu" . ,package-test-data-dir))) |
| 96 | (old-yes-no-defn (symbol-function 'yes-or-no-p)) | 96 | (old-yes-no-defn (symbol-function 'yes-or-no-p)) |
| 97 | (default-directory package-test-file-dir) | 97 | (default-directory package-test-file-dir) |
| 98 | abbreviated-home-dir | ||
| 98 | package--initialized | 99 | package--initialized |
| 99 | package-alist | 100 | package-alist |
| 100 | ,@(if update-news | 101 | ,@(if update-news |
| @@ -339,8 +340,7 @@ Must called from within a `tar-mode' buffer." | |||
| 339 | (goto-char (point-min)) | 340 | (goto-char (point-min)) |
| 340 | (should (search-forward "simple-single is an installed package." nil t)) | 341 | (should (search-forward "simple-single is an installed package." nil t)) |
| 341 | (should (search-forward | 342 | (should (search-forward |
| 342 | (format "Status: Installed in `%s/' (unsigned)." | 343 | "Status: Installed in `~/simple-single-1.3/' (unsigned)." |
| 343 | (expand-file-name "simple-single-1.3" package-user-dir)) | ||
| 344 | nil t)) | 344 | nil t)) |
| 345 | (should (search-forward "Version: 1.3" nil t)) | 345 | (should (search-forward "Version: 1.3" nil t)) |
| 346 | (should (search-forward "Summary: A single-file package with no dependencies" | 346 | (should (search-forward "Summary: A single-file package with no dependencies" |
| @@ -409,8 +409,7 @@ Must called from within a `tar-mode' buffer." | |||
| 409 | (goto-char (point-min)) | 409 | (goto-char (point-min)) |
| 410 | (should (search-forward "signed-good is an installed package." nil t)) | 410 | (should (search-forward "signed-good is an installed package." nil t)) |
| 411 | (should (search-forward | 411 | (should (search-forward |
| 412 | (format "Status: Installed in `%s/'." | 412 | "Status: Installed in `~/signed-good-1.0/'." |
| 413 | (expand-file-name "signed-good-1.0" package-user-dir)) | ||
| 414 | nil t)))))) | 413 | nil t)))))) |
| 415 | 414 | ||
| 416 | 415 | ||