[libvirt PATCH 28/31] tests: commandhelper: change how we detect if running as daemon

Ján Tomko jtomko at redhat.com
Thu Jul 2 14:42:33 UTC 2020

On a Thursday in 2020, Pavel Hrdina wrote:
>The old code works correctly with make and running directly from shell
>but it failed with Meson test suite where session ID and process group
>are the same in both cases.
>What changes in both cases is parent process ID so use that instead of
>session ID.
>Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
> tests/commandhelper.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Ján Tomko <jtomko at redhat.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200702/8ebdc86a/attachment-0001.sig>

More information about the libvir-list mailing list