PR breakpoints/13798 and mi/11541

* gdb.linespec/ls-errs.exp: Add a few more tests for
	filenames with spaces and colons.
This commit is contained in:
Keith Seitz 2012-06-13 18:06:07 +00:00
parent 50af5481d5
commit f3b5e28044
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
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.
2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
PR c++/14177 - Fix parsing TYPENAME:: in parentheses.

View File

@ -116,7 +116,9 @@ foreach x [list "this_file_doesn't_exist.c" \
"\"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 \"']
}