diff options
author | Keith Seitz <keiths@redhat.com> | 2012-06-13 18:06:07 +0000 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2012-06-13 18:06:07 +0000 |
commit | f3b5e28044f6033220a7935ce4d1437a0c5ab38a (patch) | |
tree | 5c95468ec35001a31432f724e156345008441e7f /gdb/testsuite/gdb.linespec | |
parent | 50af5481d5feece564c8b03bfb4a647dc7573f3c (diff) | |
download | gdb-f3b5e28044f6033220a7935ce4d1437a0c5ab38a.zip gdb-f3b5e28044f6033220a7935ce4d1437a0c5ab38a.tar.gz gdb-f3b5e28044f6033220a7935ce4d1437a0c5ab38a.tar.bz2 |
PR breakpoints/13798 and mi/11541
* gdb.linespec/ls-errs.exp: Add a few more tests for
filenames with spaces and colons.
Diffstat (limited to 'gdb/testsuite/gdb.linespec')
-rw-r--r-- | gdb/testsuite/gdb.linespec/ls-errs.exp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.linespec/ls-errs.exp b/gdb/testsuite/gdb.linespec/ls-errs.exp index 21e01bf..8ced8c6 100644 --- a/gdb/testsuite/gdb.linespec/ls-errs.exp +++ b/gdb/testsuite/gdb.linespec/ls-errs.exp @@ -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 \"'] } |