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]

[commit] Update tfind tests


A couple tfind tests also needed updating for the new output format, committed.

Stan
stan@codesourcery.com

2011-12-07 Stan Shebs <stan@codesourcery.com>

* gdb.trace/tfind.exp: Update for output changes.


Index: gdb.trace/tfind.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.trace/tfind.exp,v retrieving revision 1.24 diff -u -p -r1.24 tfind.exp --- gdb.trace/tfind.exp 5 Dec 2011 23:32:52 -0000 1.24 +++ gdb.trace/tfind.exp 7 Dec 2011 21:21:53 -0000 @@ -333,10 +333,10 @@ gdb_test "disassemble gdb_c_test" \ "8.36: trace disassembly"

 gdb_test "tfind line 0" \
-    "out of range.*|failed to find.*" \
+    "out of range.*|failed to find.*|No line 0 in .*" \
     "8.18: tfind line 0";
 gdb_test "tfind line 32767" \
-    "out of range.*|failed to find.*" \
+    "out of range.*|failed to find.*|No line 32767 in .*" \
     "8.27: tfind line 32767";
 gdb_test "tfind line NoSuChFiLe.c:$baseline" \
     "No source file named.*" \


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