This is the mail archive of the gdb-patches@sources.redhat.com 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]

RFA: tighten apropos pattern



2001-06-04  Jim Blandy  <jimb@redhat.com>

	* gdb.base/help.exp: Update pattern to excluse `print-load-map'
	command.

Index: gdb/testsuite/gdb.base/help.exp
===================================================================
RCS file: /cvs/cvsfiles/devo/gdb/testsuite/gdb.base/help.exp,v
retrieving revision 1.29
diff -c -r1.29 help.exp
*** gdb/testsuite/gdb.base/help.exp	2000/05/01 04:46:50	1.29
--- gdb/testsuite/gdb.base/help.exp	2001/06/04 22:03:26
***************
*** 541,547 ****
  # test help gotcha
  gdb_test "help gotcha" "Undefined command: \"gotcha\".  Try \"help\"."  "help gotcha"
  # test apropos regex
! gdb_test "apropos \\\(print\[\^ bsiedf\\\".\]\\\)" "handle -- Specify how to handle a signal"
  # test apropos >1 word string
  gdb_test "apropos handle a signal" "handle -- Specify how to handle a signal"
  # test apropos apropos
--- 541,547 ----
  # test help gotcha
  gdb_test "help gotcha" "Undefined command: \"gotcha\".  Try \"help\"."  "help gotcha"
  # test apropos regex
! gdb_test "apropos \\\(print\[\^ bsiedf\\\".-\]\\\)" "handle -- Specify how to handle a signal"
  # test apropos >1 word string
  gdb_test "apropos handle a signal" "handle -- Specify how to handle a signal"
  # test apropos apropos


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