commandtest: Test virCommandSetSendBuffer() with virCommandDoAsyncIO()

Introduce a test case which ensures that a daemonized process can
work with virCommandSetSendBuffer() when async IO is enabled.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
Michal Privoznik
2022-12-01 14:22:39 +01:00
parent 5c1b5f208a
commit e97b6f4bc5
2 changed files with 117 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
ARG:--close-stdin
ARG:--check-daemonize
ARG:--readfd
ARG:3
ENV:DISPLAY=:0.0
ENV:HOME=/home/test
ENV:HOSTNAME=test
ENV:LANG=C
ENV:LOGNAME=test
ENV:PATH=/usr/bin:/bin
ENV:TMPDIR=/tmp
ENV:USER=test
FD:0
FD:1
FD:2
FD:3
FD:6
DAEMON:yes
CWD:/
UMASK:0022