aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2010-05-31 23:20:20 +0000
committerJoel Brobecker <brobecker@gnat.com>2010-05-31 23:20:20 +0000
commitf629457da977b54779bc4f22840b88e45dc302ea (patch)
treec25bf4a506056ebbd1755015a98584a28a307365 /gdb
parent51794af883a67afadd94feec6b7f509f883c1094 (diff)
downloadgdb-f629457da977b54779bc4f22840b88e45dc302ea.zip
gdb-f629457da977b54779bc4f22840b88e45dc302ea.tar.gz
gdb-f629457da977b54779bc4f22840b88e45dc302ea.tar.bz2
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/subst.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index c96b4e0..5d50914 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
diff --git a/gdb/testsuite/gdb.base/subst.exp b/gdb/testsuite/gdb.base/subst.exp
index 2e7ee1a..b7f0ab2 100644
--- a/gdb/testsuite/gdb.base/subst.exp
+++ b/gdb/testsuite/gdb.base/subst.exp
@@ -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' -> `'." \