From: David Bremner <david@tethera.net>
Date: Sun, 31 May 2015 16:56:10 +0000 (+0200)
Subject: test: remove redundant 'file' command from gdb scripts.
X-Git-Tag: 0.20.1~2
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=5df1b1bb81b1983578e636ac62000e280d241139;p=notmuch

test: remove redundant 'file' command from gdb scripts.

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.
---

diff --git a/test/T070-insert.sh b/test/T070-insert.sh
index 168345c9..74f19552 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