This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [testsuite patch] Fix false FAILs with .bashrc GDBHISTFILE=...
- From: Pedro Alves <palves at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>, gdb-patches at sourceware dot org
- Date: Thu, 7 Apr 2016 19:30:36 +0100
- Subject: Re: [testsuite patch] Fix false FAILs with .bashrc GDBHISTFILE=...
- Authentication-results: sourceware.org; auth=none
- References: <20160407162728 dot GA1979 at host1 dot jankratochvil dot net>
On 04/07/2016 05:27 PM, Jan Kratochvil wrote:
> Hi,
>
> $ GDBHISTFILE=/tmp/gdbhistfile runtest gdb.base/gdbhistsize-history.exp gdb.base/gdbinit-history.exp
> Running ./gdb.base/gdbinit-history.exp ...
> FAIL: gdb.base/gdbinit-history.exp: home=gdbinit-history/unlimited gdbhistsize=1000: show commands
> FAIL: gdb.base/gdbinit-history.exp: home=gdbinit-history/unlimited gdbhistsize=foo: show commands
> Running ./gdb.base/gdbhistsize-history.exp ...
> FAIL: gdb.base/gdbhistsize-history.exp: histsize=: show commands
> FAIL: gdb.base/gdbhistsize-history.exp: histsize=20: show commands
> FAIL: gdb.base/gdbhistsize-history.exp: histsize= 20 : show commands
> FAIL: gdb.base/gdbhistsize-history.exp: histsize=-5: show commands
> FAIL: gdb.base/gdbhistsize-history.exp: histsize=not_an_integer: show commands
> FAIL: gdb.base/gdbhistsize-history.exp: histsize=10zab: show commands
> FAIL: gdb.base/gdbhistsize-history.exp: histsize=-5ab: show commands
> FAIL: gdb.base/gdbhistsize-history.exp: histsize=99999999999999999999999999999999999: show commands
> FAIL: gdb.base/gdbhistsize-history.exp: histsize=50: show commands
>
> This happens in my setup due to my:
> $ grep GDB ~/.bashrc
> export GDBHISTFILE="$HOME/.gdb_history"
>
> Maybe it is a testsuite regression gdb 7.10->7.11 but I have not checked that
> more.
>
> OK for check-in?
OK.
Thanks,
Pedro Alves