aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGlenn Morris <[email protected]>2014-06-25 23:55:15 -0700
committerGlenn Morris <[email protected]>2014-06-25 23:55:15 -0700
commit9ac6d28ab8c29547d9f9365dc8f7cea13c32ef7a (patch)
tree026dc1d5a858b27086c4f9d8e0f4a60b7907eb80 /test
parenta0e2175a9055f2ea8ae03744d495e5179885029d (diff)
parent436550da1bf8d2cdd92a60f6ce84f131a8045062 (diff)
Merge from emacs-24; up to 2014-06-11T19:33:[email protected]
Diffstat (limited to 'test')
-rw-r--r--test/ChangeLog6
-rw-r--r--test/automated/package-test.el6
-rwxr-xr-xtest/indent/shell.sh7
3 files changed, 16 insertions, 3 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index 01cd55d99d..ffa0aaead4 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,9 @@
+2014-06-26 Stefan Monnier <[email protected]>
+
+ * automated/package-test.el (package-test-update-listing)
+ (package-test-update-archives, package-test-describe-package):
+ Adjust tests according to new package-list-unsigned.
+
2014-06-26 Glenn Morris <[email protected]>
* automated/ert-tests.el (no-byte-compile): Set it. (Bug#17851)
diff --git a/test/automated/package-test.el b/test/automated/package-test.el
index e7c989de57..b970cd7c9f 100644
--- a/test/automated/package-test.el
+++ b/test/automated/package-test.el
@@ -265,7 +265,7 @@ Must called from within a `tar-mode' buffer."
(should (package-installed-p 'simple-single))
(switch-to-buffer "*Packages*")
(goto-char (point-min))
- (should (re-search-forward "^\\s-+simple-single\\s-+1.3\\s-+unsigned" nil t))
+ (should (re-search-forward "^\\s-+simple-single\\s-+1.3\\s-+installed" nil t))
(goto-char (point-min))
(should-not (re-search-forward "^\\s-+simple-single\\s-+1.3\\s-+\\(available\\|new\\)" nil t))
(kill-buffer buf))))
@@ -287,7 +287,7 @@ Must called from within a `tar-mode' buffer."
;; New version should be available and old version should be installed
(goto-char (point-min))
(should (re-search-forward "^\\s-+simple-single\\s-+1.4\\s-+new" nil t))
- (should (re-search-forward "^\\s-+simple-single\\s-+1.3\\s-+unsigned" nil t))
+ (should (re-search-forward "^\\s-+simple-single\\s-+1.3\\s-+installed" nil t))
(goto-char (point-min))
(should (re-search-forward "^\\s-+new-pkg\\s-+1.0\\s-+\\(available\\|new\\)" nil t))
@@ -318,7 +318,7 @@ Must called from within a `tar-mode' buffer."
(with-fake-help-buffer
(describe-package 'simple-single)
(goto-char (point-min))
- (should (search-forward "simple-single is an unsigned package." nil t))
+ (should (search-forward "simple-single is an installed package." nil t))
(should (search-forward
(format "Status: Installed in `%s/' (unsigned)."
(expand-file-name "simple-single-1.3" package-user-dir))
diff --git a/test/indent/shell.sh b/test/indent/shell.sh
index 8e831bb8f1..4a30739e2d 100755
--- a/test/indent/shell.sh
+++ b/test/indent/shell.sh
@@ -41,6 +41,13 @@ for foo in bar; do # bug#17721
}
done
+filter_3 () # bug#17842
+{
+ tr -d '"`' | tr ' ' ' ' | \
+ awk -F\; -f filter.awk | \
+ grep -v "^," | sort -t, -k2,2
+}
+
echo -n $(( 5 << 2 ))
# This should not be treated as a heredoc (bug#12770).
2