subst.exp: Empty message (3rd parameter) in call to gdb_test
authorJoel Brobecker <brobecker@gnat.com>
Mon, 31 May 2010 23:20:20 +0000 (23:20 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Mon, 31 May 2010 23:20:20 +0000 (23:20 +0000)
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.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/subst.exp

index c96b4e0..5d50914 100644 (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.
index 2e7ee1a..b7f0ab2 100644 (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' -> `'." \