summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/mi-basics.exp
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2006-10-02 16:38:26 +0000
committerVladimir Prus <vladimir@codesourcery.com>2006-10-02 16:38:26 +0000
commit041bf30db7ac5628b79e7c44fcc53a7657061a89 (patch)
tree9ec20708b06fa56cf4bbba055252ba3b0f1f01be /gdb/testsuite/gdb.mi/mi-basics.exp
parent466b1d33082997a5a2f267897b435364cde0131c (diff)
downloadbinutils-gdb-041bf30db7ac5628b79e7c44fcc53a7657061a89.tar.gz
* gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
via string_to_regexp. * gdb.mi/mi2-basics.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi-basics.exp')
-rw-r--r--gdb/testsuite/gdb.mi/mi-basics.exp2
1 files changed, 2 insertions, 0 deletions
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"