This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] patch for review of PR gdb/10462


On 04/17/2013 01:28 PM, mbilal wrote:
> --- gdb.base/default.exp	15 Apr 2013 18:09:02 -0000	1.64
> +++ gdb.base/default.exp	17 Apr 2013 12:18:38 -0000

BTW, is there a rationale for putting this in default.exp, which
is about default actions of commands?  I think setshow.exp might make
more sense.

> +#test argument must be preceded by space
> +foreach x {"history file" "solib-search-path" "data-directory"} {
> +    foreach y {"/home/" "." "~/home" "=home"} {
> +        gdb_test "set $x$y" "Argument must be preceded by space." \
> +            "check space before argument"
> +    }

The uniqueness issue is still here:

 http://sourceware.org/gdb/wiki/GDBTestcaseCookbook#Make_sure_test_messages_are_unique

Is there a reason

       gdb_test_no_output "set $x $y" "set $x $y"

was removed in this version?

-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]