* gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
authorVladimir Prus <vladimir@codesourcery.com>
Mon, 2 Oct 2006 16:38:26 +0000 (16:38 +0000)
committerVladimir Prus <vladimir@codesourcery.com>
Mon, 2 Oct 2006 16:38:26 +0000 (16:38 +0000)
        via string_to_regexp.
        * gdb.mi/mi2-basics.exp: Likewise.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-basics.exp
gdb/testsuite/gdb.mi/mi2-basics.exp

index 319cc01..1c2d6f3 100644 (file)
@@ -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:
index 9a6bdc8..bd24513 100644 (file)
@@ -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"
index c3a6692..21db56d 100644 (file)
@@ -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"