This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Help, minor bug in testsuite
- From: Michael Snyder <msnyder at vmware dot com>
- To: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Fri, 04 Jun 2010 15:26:55 -0700
- Subject: Help, minor bug in testsuite
OK, not sure what to do with this one. The test in gdb.base/list.exp
says:
# Try listsize of 0 which suppresses printing.
set_listsize 0
gdb_test "list 1" "" "listsize of 0 suppresses output"
However, the test only passes because "" is the same as ".*".
In fact, the output is NOT suppressed, and I can find nowhere
in the documentation that says it SHOULD be suppressed.
I'm not sure what to do with this test...
Michael