diff options
Diffstat (limited to 'gdb/testsuite/gdb.python/py-connection.exp')
-rw-r--r-- | gdb/testsuite/gdb.python/py-connection.exp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.python/py-connection.exp b/gdb/testsuite/gdb.python/py-connection.exp index fa995f1..ca78b37 100644 --- a/gdb/testsuite/gdb.python/py-connection.exp +++ b/gdb/testsuite/gdb.python/py-connection.exp @@ -65,10 +65,10 @@ gdb_test "python print(conn.is_valid())" "False" "is_valid returns False" # Now check that accessing properties of the invalid connection cases # an error. gdb_test "python print(conn.num)" \ - "RuntimeError: Connection no longer exists\\.\r\n.*" + "RuntimeError.*: Connection no longer exists\\.\r\n.*" gdb_test "python print(conn.type)" \ - "RuntimeError: Connection no longer exists\\.\r\n.*" + "RuntimeError.*: Connection no longer exists\\.\r\n.*" gdb_test "python print(conn.description)" \ - "RuntimeError: Connection no longer exists\\.\r\n.*" + "RuntimeError.*: Connection no longer exists\\.\r\n.*" gdb_test "python print(conn.details)" \ - "RuntimeError: Connection no longer exists\\.\r\n.*" + "RuntimeError.*: Connection no longer exists\\.\r\n.*" |