]> Savannah Git Hosting - gnulib.git/commit
spawn-pipe: Fix test failure when running under QEMU user-mode.
authorBruno Haible <bruno@clisp.org>
Mon, 30 Aug 2021 00:06:23 +0000 (02:06 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 30 Aug 2021 00:14:33 +0000 (02:14 +0200)
commitf765c6881f9b237163aa0178df3da5540f282f87
tree36901e978f6de8cfea1617bad8505f3c92730e5b
parent5d5eba1c0c43e4c9638cb857aa7f3c471ae0deba
spawn-pipe: Fix test failure when running under QEMU user-mode.

* tests/test-spawn-pipe-child.c: Include <stdbool.h>, <string.h>,
qemu.h.
(main): Under QEMU user-mode, allow fd 2 or fd 3 to be open.
* modules/spawn-pipe-tests (Files): Add qemu.h.
(Depends-on): Add stdbool.
ChangeLog
modules/spawn-pipe-tests
tests/test-spawn-pipe-child.c