summaryrefslogtreecommitdiff
path: root/test/src/comp-tests.el
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2021-01-06 15:26:38 +0100
committerAndrea Corallo <akrl@sdf.org>2021-01-06 15:52:58 +0100
commit33b8ce865fcfd58538ae2d7c3fff04998fcd3330 (patch)
tree384902e9f2fc18e9e986762d6fb563478fcff854 /test/src/comp-tests.el
parent8ad983c4acef60a80e8d6b6ba891b1ef957f2d7c (diff)
downloademacs-33b8ce865fcfd58538ae2d7c3fff04998fcd3330.tar.gz
Fix bug#45603
Reported and reduced by Mauricio Collares. * lisp/emacs-lisp/comp.el (comp-final): Fix coding system for the tmp file used to pass data the child processes. * test/src/comp-tests.el (45603-1): New testcase * test/src/comp-test-45603.el : New File.
Diffstat (limited to 'test/src/comp-tests.el')
-rw-r--r--test/src/comp-tests.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/src/comp-tests.el b/test/src/comp-tests.el
index 19e0940db84..c0325a8d5df 100644
--- a/test/src/comp-tests.el
+++ b/test/src/comp-tests.el
@@ -492,6 +492,11 @@ https://lists.gnu.org/archive/html/bug-gnu-emacs/2020-03/msg00914.html."
(should (string= (comp-test-45635-f :height 180 :family "PragmataPro Liga")
"PragmataPro Liga")))
+(comp-deftest 45603-1 ()
+ "<https://lists.gnu.org/archive/html/bug-gnu-emacs/2020-12/msg01994.html>"
+ (load (native-compile (concat comp-test-directory "comp-test-45603.el")))
+ (should (fboundp #'comp-test-45603--file-local-name)))
+
;;;;;;;;;;;;;;;;;;;;;
;; Tromey's tests. ;;