From 273f4bde39af5d87f10fd58f35b666dfa8a996a3 Mon Sep 17 00:00:00 2001
From: Glenn Morris <rgm@gnu.org>
Date: Sun, 9 Jul 2017 16:43:09 -0700
Subject: [PATCH] Fix failing module tests on GNU/Linux

* test/src/emacs-module-tests.el
(module--test-assertions--load-non-live-object)
(module--test-assertions--call-emacs-from-gc):
Avoid test failures due to backtraces.
---
 test/src/emacs-module-tests.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/src/emacs-module-tests.el b/test/src/emacs-module-tests.el
index 988a7a178c6..2aa85f0b247 100644
--- a/test/src/emacs-module-tests.el
+++ b/test/src/emacs-module-tests.el
@@ -230,7 +230,7 @@ aren’t accessed."
   (should (eq (mod-test-invalid-store) 123))
   (module--test-assertion (rx "Emacs value not found in "
                               (+ digit) " values of "
-                              (+ digit) " environments\n" eos)
+                              (+ digit) " environments\n")
     ;; Storing and reloading a local value causes undefined behavior,
     ;; which should be detected by the module assertions.
     (mod-test-invalid-store)
@@ -241,7 +241,7 @@ aren’t accessed."
 during garbage collection."
   (skip-unless (file-executable-p mod-test-emacs))
   (module--test-assertion
-      (rx "Module function called during garbage collection\n" eos)
+      (rx "Module function called during garbage collection\n")
     (mod-test-invalid-finalizer)))
 
 ;;; emacs-module-tests.el ends here
-- 
2.39.5