aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-12-05 18:27:44 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-12-05 18:27:44 +0000
commit1820ab4711aeca407cd1d9be62e0f832c530352d (patch)
treef976d309efd09028581565d6e4e399ca471826cc
parent65fc367bc79b106fc3e6236182cd84f00f393197 (diff)
downloadgdb-1820ab4711aeca407cd1d9be62e0f832c530352d.zip
gdb-1820ab4711aeca407cd1d9be62e0f832c530352d.tar.gz
gdb-1820ab4711aeca407cd1d9be62e0f832c530352d.tar.bz2
gdb/testsuite/
* gdb.server/ext-run.exp (get process list): Accept also systemd as PID 1.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.server/ext-run.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 860201c..52f4b98 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * gdb.server/ext-run.exp (get process list): Accept also systemd
+ as PID 1.
+
2011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
Pedro Alves <pedro@codesourcery.com>
diff --git a/gdb/testsuite/gdb.server/ext-run.exp b/gdb/testsuite/gdb.server/ext-run.exp
index b930527..165a2b6 100644
--- a/gdb/testsuite/gdb.server/ext-run.exp
+++ b/gdb/testsuite/gdb.server/ext-run.exp
@@ -55,7 +55,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" }
+ { "pid +user +command" "1 +root +\[/a-z\]*(init|systemd)" }
}
}