gdb/source.c: Fix matching path substitute rule listing
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / subst.exp
index e132809f748a83e41421c0190a06e563d5f77bbd..e99735be0811645c0d53692ab10f8f2086726af5 100644 (file)
@@ -95,6 +95,14 @@ gdb_test "show substitute-path depuis" \
          "Source path substitution rule matching `depuis':\r\n +`depuis' -> `vers'." \
          "show substitute-path depuis, after all paths added"
 
+gdb_test "show substitute-path from/path" \
+         "Source path substitution rule matching `from/path':\r\n +`from' -> `to'." \
+         "show substitute-path from/path, after all paths added"
+
+gdb_test "show substitute-path from_a_bad_path" \
+         "Source path substitution rule matching `from_a_bad_path':" \
+         "show substitute-path from_a_bad_path, after all paths added"
+
 gdb_test "show substitute-path garbage" \
          "Source path substitution rule matching `garbage':" \
          "show substitute-path garbage, after all paths added"
This page took 0.032932 seconds and 4 git commands to generate.