gdb/testsuite: fix list.exp test cases
authorAndrew Burgess <aburgess@redhat.com>
Thu, 24 Feb 2022 15:40:29 +0000 (08:40 -0700)
committerAndrew Burgess <aburgess@redhat.com>
Fri, 25 Feb 2022 11:43:43 +0000 (11:43 +0000)
commit13cd9508afbe7435b562f75e2440e74ae1747fd3
treed17557f7921ac6efb540b976d798b0898eafc99e
parent0f94906fba909f75cb00402caad8e37be92f9c6f
gdb/testsuite: fix list.exp test cases

PR testsuite/7142 -- old enough to have been converted from Gnats --
points out that test_list_filename_and_function in gdb.base/list.exp
has "fails" that are unmatched with passes.  This patch cleans this up
a little.

Co-authored-by: Tom Tromey <tromey@adacore.com>
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=7142
gdb/testsuite/gdb.base/list.exp