subst.exp: Empty message (3rd parameter) in call to gdb_test

This is something that Michael spotted and reported to me. Definitely
a mistake, causing the test to report no status...

gdb/testsuite:
2010-05-31  Joel Brobecker  <brobecker@adacore.com>

        * gdb.base/subst.exp: Fix call to gdb_test with empty message.

Tested on x86_64-linux.  The test now reports 30 PASSes instead of 29.
This commit is contained in:
Joel Brobecker 2010-05-31 23:20:20 +00:00
parent 51794af883
commit f629457da9
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2010-05-31 Joel Brobecker <brobecker@adacore.com>
* gdb.base/subst.exp: Fix call to gdb_test with empty message.
2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
Accept the new Linux kernel "t (tracing stop)" string.

View File

@ -110,7 +110,7 @@ gdb_test "unset substitute-path from" \
gdb_test "show substitute-path from" \
"Source path substitution rule matching `from':" \
""
"show substitute-path from, after unsetting it"
gdb_test "show substitute-path" \
"List of all source path substitution rules:\r\n +`from1' -> `to1'.\r\n +`source' -> `destination'.\r\n\ +`depuis' -> `vers'.\r\n +`empty' -> `'." \