]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add a test case for the fdstream file read/write code
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 10 May 2013 17:14:40 +0000 (18:14 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 10 May 2013 18:57:18 +0000 (19:57 +0100)
commit31989e66c6e0cfacd0d82e7d06ae8a00ffe6434e
tree68a16c475ed2a4b95490ba5e61ad3583ed2271b3
parent8ab7d8ee40e9a6669a2144c6b01817785badf2a1
Add a test case for the fdstream file read/write code

Add a test case which exercises the virFDStreamOpenFile
and virFDStreamCreateFile methods. Ensure that both the
synchronous and non-blocking iohelper code paths work.
This validates the regression recently fixed which
broke reading in non-blocking mode

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
.gitignore
tests/Makefile.am
tests/fdstreamtest.c [new file with mode: 0644]