[PATCH 07/29] gdb/testsuite: Remove duplicates from gdb.base/pending.exp

Andrew Burgess aburgess@redhat.com
Tue Jan 4 14:12:58 GMT 2022


* Lancelot SIX via Gdb-patches <gdb-patches@sourceware.org> [2021-11-21 17:56:14 +0000]:

> When running the testsuite, I have:
> 
>     Running .../gdb/testsuite/gdb.base/pending.exp ...
>     DUPLICATE: gdb.base/pending.exp: disable other breakpoints
> 
> Fix by adjusting the test names.
> 
> Tested on x86_64-linux.

LGTM.

Thanks,
Andrew

> ---
>  gdb/testsuite/gdb.base/pending.exp | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/gdb/testsuite/gdb.base/pending.exp b/gdb/testsuite/gdb.base/pending.exp
> index cf3496492f6..8d1c2dce6e3 100644
> --- a/gdb/testsuite/gdb.base/pending.exp
> +++ b/gdb/testsuite/gdb.base/pending.exp
> @@ -244,8 +244,8 @@ gdb_test "continue" \
>  # be 3 then.
>  #
>  
> -gdb_test "disable 7" "" "disable other breakpoints"
> -gdb_test "disable 5" "" "disable other breakpoints"
> +gdb_test "disable 7" "" "disable breakpoint 7"
> +gdb_test "disable 5" "" "disable breakpoint 5"
>  
>  gdb_test "continue" \
>  	 ".*Breakpoint.*pendfunc1.*\\\(x=3\\\) at.*pendshr.c:$bp3_loc.*printf.*;" \
> -- 
> 2.33.1
> 



More information about the Gdb-patches mailing list