summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/gdb.mi/mi-basics.exp2
-rw-r--r--gdb/testsuite/gdb.mi/mi2-basics.exp2
3 files changed, 10 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 319cc01f916..1c2d6f3f64d 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
+
+ * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
+ via string_to_regexp.
+ * gdb.mi/mi2-basics.exp: Likewise.
+
2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
* abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
diff --git a/gdb/testsuite/gdb.mi/mi-basics.exp b/gdb/testsuite/gdb.mi/mi-basics.exp
index 9a6bdc8b663..bd245130a23 100644
--- a/gdb/testsuite/gdb.mi/mi-basics.exp
+++ b/gdb/testsuite/gdb.mi/mi-basics.exp
@@ -219,6 +219,8 @@ proc test_path_specification {} {
}
}
+ set orig_path [string_to_regexp ${orig_path}]
+
mi_gdb_test "207-environment-path" \
"207\\\^done,path=\"$orig_path\"" \
"environment-path no-args operation"
diff --git a/gdb/testsuite/gdb.mi/mi2-basics.exp b/gdb/testsuite/gdb.mi/mi2-basics.exp
index c3a6692850a..21db56d0d99 100644
--- a/gdb/testsuite/gdb.mi/mi2-basics.exp
+++ b/gdb/testsuite/gdb.mi/mi2-basics.exp
@@ -222,6 +222,8 @@ proc test_path_specification {} {
}
}
+ set orig_path [string_to_regexp ${orig_path}]
+
mi_gdb_test "207-environment-path" \
"207\\\^done,path=\"$orig_path\"" \
"environment-path no-args operation"