[pushed/obv] Fix typo in ftrace.exp condition testing

Message ID 1460489549-25430-1-git-send-email-antoine.tremblay@ericsson.com
State New, archived
Headers

Commit Message

Antoine Tremblay April 12, 2016, 7:32 p.m. UTC
  This obvious patch replaces "ond" wiht "cond" as the test prefix for
conditional tests.

gdb/testsuite/ChangeLog:

	* gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
---
 gdb/testsuite/ChangeLog            | 4 ++++
 gdb/testsuite/gdb.trace/ftrace.exp | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)
  

Patch

diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 67e58cc..d3d400b 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@ 
+2016-04-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
+
+	* gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
+
 2016-04-09  Simon Marchi  <simon.marchi@polymtl.ca>
 
 	* gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
diff --git a/gdb/testsuite/gdb.trace/ftrace.exp b/gdb/testsuite/gdb.trace/ftrace.exp
index 23e7d1e..d7ff3cb 100644
--- a/gdb/testsuite/gdb.trace/ftrace.exp
+++ b/gdb/testsuite/gdb.trace/ftrace.exp
@@ -180,7 +180,7 @@  proc test_fast_tracepoints {} {
 # LIST is a list of expected values of VAR should be collected
 # based on the CONDEXP.
 proc test_ftrace_condition { condexp var list } \
-{ with_test_prefix "ond $condexp" \
+{ with_test_prefix "cond $condexp" \
 {
     global executable
     global hex