[PATCH] test: remove redundant 'file' command from gdb scripts.

David Bremner david at tethera.net
Sun May 31 09:59:14 PDT 2015


Quoting Debian bug 787341

   It failed to build on arm64: the last ten tests in T070-insert
   failed.

   What's happening here is that GDB is segfaulting in response to
   the
   "file" command. GDB on arm64 can be a bit buggy.

   However, the "file" command is redundant here as GDB has already
   got
   the file from the --args on the command line.
---
 test/T070-insert.sh | 1 -
 1 file changed, 1 deletion(-)

diff --git a/test/T070-insert.sh b/test/T070-insert.sh
index 168345c..74f1955 100755
--- a/test/T070-insert.sh
+++ b/test/T070-insert.sh
@@ -191,7 +191,6 @@ for code in OUT_OF_MEMORY XAPIAN_EXCEPTION FILE_NOT_EMAIL \
     READ_ONLY_DATABASE UPGRADE_REQUIRED; do
 gen_insert_msg
 cat <<EOF > index-file-$code.gdb
-file notmuch
 set breakpoint pending on
 break notmuch_database_add_message
 commands
-- 
2.1.4



More information about the notmuch mailing list