gdb/testsuite: special case '^' in gdb_test pattern
[binutils-gdb.git] / gdb / testsuite / gdb.python / py-framefilter.exp
index 6897518a20e172fe0b4ec9cf58c5cc9d874248ba..f02fc8612253c67af7da8b0b6e7b89c8aeced915 100644 (file)
@@ -97,7 +97,7 @@ foreach bttype [list "bt" "bt full"] {
            pass $test
        }
     }
-    gdb_test "q" "^q\r\nQuit" "pagination quit - $bttype - q"
+    gdb_test "q" "^Quit" "pagination quit - $bttype - q"
 }
 gdb_test_no_output "set height unlimited" "pagination quit - set height unlimited"