This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
PATCH: Fix a regexp in gdb.c++/casts.exp test
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 4 Jan 2003 17:31:41 -0500
- Subject: PATCH: Fix a regexp in gdb.c++/casts.exp test
Found this while I was working on gdb_test_multiple this morning. We didn't
see the fail because we don't call fail for gdb_test when message is ""...
Checked in.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
2003-01-04 Daniel Jacobowitz <drow@mvista.com>
* gdb.c++/casts.exp: Correct regexp.
Index: gdb.c++/casts.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.c++/casts.exp,v
retrieving revision 1.1
diff -u -p -r1.1 casts.exp
--- gdb.c++/casts.exp 2 Oct 2002 21:46:56 -0000 1.1
+++ gdb.c++/casts.exp 4 Jan 2003 22:29:41 -0000
@@ -1,4 +1,4 @@
-# Copyright 2002 Free Software Foundation, Inc.
+# Copyright 2002, 2003 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -59,7 +59,7 @@ gdb_test "break [gdb_get_line_number "ca
"Breakpoint.*at.* file .*" \
""
-gdb_test "run" "Breakpoint .* at casts.cc" ""
+gdb_test "run" "Breakpoint .* at .*casts.cc.*" ""
# Casting a pointer to a base class to a pointer to a derived class
# should yield the entire derived class. Until August 2002, GDB got