]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
PR breakpoints/13798 and mi/11541
authorKeith Seitz <keiths@redhat.com>
Wed, 13 Jun 2012 18:06:07 +0000 (18:06 +0000)
committerKeith Seitz <keiths@redhat.com>
Wed, 13 Jun 2012 18:06:07 +0000 (18:06 +0000)
* gdb.linespec/ls-errs.exp: Add a few more tests for
filenames with spaces and colons.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.linespec/ls-errs.exp

index d12bd9e8cabcd25338932cd2780d34edeec6b7c6..511e0c66c94fbdae7194d612a641cfd42703954c 100644 (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.
index 21e01bf379dfbdf3345ad7d6059f5162e37d4373..8ced8c6f0334dd9831d65a211a67dd284e5964b3 100644 (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 \"']
 }