gdb/testsuite/

* gdb.server/ext-run.exp (get process list): Accept also systemd
	as PID 1.
This commit is contained in:
Jan Kratochvil 2011-12-05 18:27:44 +00:00
parent 65fc367bc7
commit 1820ab4711
2 changed files with 6 additions and 1 deletions

View File

@ -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>

View File

@ -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)" }
}
}