summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2014-03-23 05:26:13 +0200
committerDmitry Gutov <dgutov@yandex.ru>2014-03-23 05:26:13 +0200
commit0ceba22e53c3ce48448f37311b8ec2294ef8238c (patch)
tree70e5df059fa57c0ed43a5041e27414b21c657adc
parent9e37f3b9c3321029fb12479c1e1bbba7e708f8f5 (diff)
downloademacs-0ceba22e53c3ce48448f37311b8ec2294ef8238c.tar.gz
Fix test failure in non-graphical mode
* test/automated/package-test.el (package-test-describe-package): Fix test failure in non-graphical mode. Add some missing ChangeLog entries.
-rw-r--r--test/ChangeLog23
-rw-r--r--test/automated/package-test.el2
2 files changed, 24 insertions, 1 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index c87022cd948..9560397fa3f 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,26 @@
+2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
+
+ * automated/package-test.el (package-test-describe-package):
+ Fix test failure in non-graphical mode.
+
+2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
+
+ * automated/package-test.el (package-test-describe-package):
+ Check for the "Keywords: " line.
+
+ * automated/data/package/archive-contents: Include the :keywords
+ field in `simple-single' data form.
+
+2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
+
+ * automated/package-test.el
+ (package-test-install-two-dependencies): New test (bug#16826).
+
+ * automated/data/package/simple-two-depend-1.1.el: New file.
+
+ * automated/data/package/archive-contents:
+ Add info about the new package.
+
2014-03-07 Michael Albinus <michael.albinus@gmx.de>
* automated/tramp-tests.el (tramp-copy-size-limit): Declare.
diff --git a/test/automated/package-test.el b/test/automated/package-test.el
index 6d0dcdab299..ee1920b5ef4 100644
--- a/test/automated/package-test.el
+++ b/test/automated/package-test.el
@@ -326,7 +326,7 @@ Must called from within a `tar-mode' buffer."
(should (search-forward "Summary: A single-file package with no dependencies"
nil t))
(should (search-forward "Homepage: http://doodles.au" nil t))
- (should (search-forward "Keywords: frobnicate"))
+ (should (re-search-forward "Keywords: \\[?frobnicate\\]?" nil t))
;; No description, though. Because at this point we don't know
;; what archive the package originated from, and we don't have
;; its readme file saved.