]> git.notmuchmail.org Git - notmuch/commitdiff
test: remove redundant 'file' command from gdb scripts.
authorDavid Bremner <david@tethera.net>
Sun, 31 May 2015 16:56:10 +0000 (18:56 +0200)
committerDavid Bremner <david@tethera.net>
Sun, 31 May 2015 16:56:10 +0000 (18:56 +0200)
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

index 168345c9897b085de2399a09b824e8796604aa98..74f1955203f0f5cedcf0be633bcef440eeb5aa51 100755 (executable)
@@ -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