gdb/testsuite: change newline patterns used in gdb_test
[binutils-gdb.git] / gdb / testsuite / gdb.base / info-macros.exp
index 38eb35f1df8710049c61ea1e3882a8b034b8d9c5..fd4a99c9794979d28625545ee52bb0c539bfb9c4 100644 (file)
@@ -33,22 +33,22 @@ gdb_test "info macro  -- -all" \
         "The symbol `-all' has no definition .*\r\nat .*$srcfile:\[0-9\]+"
 
 gdb_test "info macro -all --" \
-        "You must follow.*with the name.*you want to see.*\[^\r\n\]*\[\r\n\]"
+        "You must follow.*with the name.*you want to see.*\[^\r\n\]*"
 
 gdb_test "info macro -all  --" \
-        "You must follow.*with the name.*you want to see.*\[^\r\n\]*\[\r\n\]"
+        "You must follow.*with the name.*you want to see.*\[^\r\n\]*"
 
 gdb_test "info macro  -all  --" \
-        "You must follow.*with the name.*you want to see.*\[^\r\n\]*\[\r\n\]"
+        "You must follow.*with the name.*you want to see.*\[^\r\n\]*"
 
 gdb_test "info macro --" \
-        "You must follow.*with the name.*you want to see.*\[^\r\n\]*\[\r\n\]"
+        "You must follow.*with the name.*you want to see.*\[^\r\n\]*"
 
 gdb_test "info macro -- " \
-        "You must follow.*with the name.*you want to see.*\[^\r\n\]*\[\r\n\]" \
+        "You must follow.*with the name.*you want to see.*\[^\r\n\]*" \
         "info macro -- <EOL>"
 gdb_test "info macro  -- " \
-        "You must follow.*with the name.*you want to see.*\[^\r\n\]*\[\r\n\]" \
+        "You must follow.*with the name.*you want to see.*\[^\r\n\]*" \
         "info macro  -- <EOL>"
 
 gdb_test "info macro -invalid-option" \