* 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 319cc01f916f1356041c359b4cc1e98e92825c63..1c2d6f3f64df7d396ab0cc333759aa7e38c045bf 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 9a6bdc8b663930662039bebac5a69ff6d4a95ab7..bd245130a23a4b53b8eae85b59200779964648fe 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 c3a6692850a825a73ac0b909f5a552330ccfae27..21db56d0d993a62213ec60b723d2cb18903d47cf 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"