Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA] breakpoints/13798 and mi/11541 (tests only)
@ 2012-06-13 17:54 Keith Seitz
  2012-06-13 18:00 ` Tom Tromey
  0 siblings, 1 reply; 3+ messages in thread
From: Keith Seitz @ 2012-06-13 17:54 UTC (permalink / raw)
  To: gdb-patches@sourceware.org ml

[-- Attachment #1: Type: text/plain, Size: 446 bytes --]

Hi,

Both of the bugs involve filenames with spaces and colons. The linespec 
parser rewrite fixed these bugs, and while there were a few tests that 
dealt with these cases already, I'd like to add a couple more just to 
cover some additional bases.

Ok?

testsuite/ChangeLog
2012-06-13  Keith Seitz  <keiths@redhat.com>

	PR breakpoints/13798 and mi/11541
	* gdb.linespec/ls-errs.exp: Add a few more tests for
	filenames with spaces and colons.

[-- Attachment #2: 11541-13798.patch --]
[-- Type: text/x-patch, Size: 847 bytes --]

Index: testsuite/gdb.linespec/ls-errs.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.linespec/ls-errs.exp,v
retrieving revision 1.1
diff -u -p -r1.1 ls-errs.exp
--- testsuite/gdb.linespec/ls-errs.exp	5 Apr 2012 18:50:29 -0000	1.1
+++ testsuite/gdb.linespec/ls-errs.exp	13 Jun 2012 17:53:14 -0000
@@ -116,7 +116,9 @@ foreach x [list "this_file_doesn't_exist
 	       "\"this \"file\" has quotes.c\"" \
 	       "'this \"file\" has quotes.c'" \
 	       "'this 'file' has quotes.c'" \
-	       "\"this 'file' has quotes.c\""] {
+	       "\"this 'file' has quotes.c\"" \
+	       "\"spaces: and :colons.c\"" \
+	       "'more: :spaces: :and  colons::.c'"] {
     # Remove any quoting from FILENAME for the error message.
     add the_tests "$x:3" invalid_file [string trim $x \"']
 }

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-06-13 18:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-13 17:54 [RFA] breakpoints/13798 and mi/11541 (tests only) Keith Seitz
2012-06-13 18:00 ` Tom Tromey
2012-06-13 18:12   ` Keith Seitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox