aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGlenn Morris2013-11-04 21:00:12 -0500
committerGlenn Morris2013-11-04 21:00:12 -0500
commitdc50338624a6440210f0b6c1df67cf9d1c33b0f8 (patch)
tree4db9dfdeb8aae256b844085188a39bedb1b0b934 /test
parenta0d5f7a4a3c9136ba9b2ab6deec28222c0c8b513 (diff)
downloademacs-dc50338624a6440210f0b6c1df67cf9d1c33b0f8.tar.gz
emacs-dc50338624a6440210f0b6c1df67cf9d1c33b0f8.zip
* test/automated/files.el (files-test-local-variable-data): Fix result typo
presumably caused by interference from dir-locals. (file-test--do-local-variables-test): Prevent dir-locals interfering.
Diffstat (limited to 'test')
-rw-r--r--test/ChangeLog6
-rw-r--r--test/automated/files.el4
2 files changed, 9 insertions, 1 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index 1b5925d79c4..387a83f25ab 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,9 @@
12013-11-05 Glenn Morris <rgm@gnu.org>
2
3 * automated/files.el (files-test-local-variable-data):
4 Fix result typo presumably caused by interference from dir-locals.
5 (file-test--do-local-variables-test): Prevent dir-locals interfering.
6
12013-11-04 Dmitry Gutov <dgutov@yandex.ru> 72013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2 8
3 * indent/ruby.rb: Add a statement on the line after heredoc. 9 * indent/ruby.rb: Add a statement on the line after heredoc.
diff --git a/test/automated/files.el b/test/automated/files.el
index 8ce2ed7230c..6ce1cbc2457 100644
--- a/test/automated/files.el
+++ b/test/automated/files.el
@@ -51,7 +51,7 @@
51 (:all nil (eq files-test-result nil)) 51 (:all nil (eq files-test-result nil))
52 (:all maybe (eq files-test-result t)) ; This combination is ambiguous. 52 (:all maybe (eq files-test-result t)) ; This combination is ambiguous.
53 (maybe t (eq files-test-result 'query)) 53 (maybe t (eq files-test-result 'query))
54 (maybe nil (eq files-test-result 'query)) 54 (maybe nil (eq files-test-result nil))
55 (maybe maybe (eq files-test-result 'query))) 55 (maybe maybe (eq files-test-result 'query)))
56 ;; Unsafe local variable value 56 ;; Unsafe local variable value
57 (("files-test-result: t") 57 (("files-test-result: t")
@@ -127,6 +127,8 @@ form.")
127 files-test-safe-result nil) 127 files-test-safe-result nil)
128 (let ((enable-local-variables (nth 0 test-settings)) 128 (let ((enable-local-variables (nth 0 test-settings))
129 (enable-local-eval (nth 1 test-settings)) 129 (enable-local-eval (nth 1 test-settings))
130 ;; Prevent any dir-locals file interfering with the tests.
131 (enable-dir-local-variables nil)
130 (files-test-queried nil)) 132 (files-test-queried nil))
131 (hack-local-variables) 133 (hack-local-variables)
132 (eval (nth 2 test-settings))))) 134 (eval (nth 2 test-settings)))))