gdb/testsuite/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 5 Dec 2011 18:27:44 +0000 (18:27 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 5 Dec 2011 18:27:44 +0000 (18:27 +0000)
* gdb.server/ext-run.exp (get process list): Accept also systemd
as PID 1.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.server/ext-run.exp

index 860201c35b8ada834758643a071731cfcb2514b8..52f4b984f8ace4edc6abfe82d237598e9a3569ca 100644 (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>
 
index b9305274202952986b03f36da4054a8d04d8cb1f..165a2b6955c74a11e36c8eb397e1dd40a85d0554 100644 (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)" }
     }
 }
 
This page took 0.038744 seconds and 4 git commands to generate.