gdb/gdb-testsuite-fix-gdb-server-ext-run-exp-for-obs.patch

20 lines
712 B
Diff

Fix gdb.server/ext-run.exp for obs
---
gdb/testsuite/gdb.server/ext-run.exp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/testsuite/gdb.server/ext-run.exp b/gdb/testsuite/gdb.server/ext-run.exp
index ecedf6b887a..0ab56253eb9 100644
--- a/gdb/testsuite/gdb.server/ext-run.exp
+++ b/gdb/testsuite/gdb.server/ext-run.exp
@@ -57,7 +57,7 @@ if { [istarget *-*-linux*] } {
# This is done in a way to avoid the timeout that can occur from
# applying .* regexp to large output.
gdb_test_sequence "info os processes" "get process list" \
- { "pid +user +command" "1 +root +\[/a-z\]*(init|systemd)" }
+ { "pid +user +command" "1 +root +\[/a-z\]*(init|systemd|bash)" }
}
}