[PATCH] test: remove redundant 'file' command from gdb scripts.
Tomi Ollila
tomi.ollila at iki.fi
Mon Jun 1 02:02:54 PDT 2015
On Sun, May 31 2015, David Bremner <david at tethera.net> wrote:
> 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.
> ---
looks trivial enough to me...
> 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
>
> _______________________________________________
> notmuch mailing list
> notmuch at notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch
More information about the notmuch
mailing list