summary refs log tree commit diff stats
path: root/qga/commands-posix.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2015-11-25 13:59:12 +0100
committerMichael Roth <mdroth@linux.vnet.ibm.com>2015-11-25 17:56:45 -0600
commit4eaab85cb1c1ba9c575d29921df81d63c7aa35df (patch)
treeb36d8d90c4e2fbbf1b5454af287c67447aa5ec7f /qga/commands-posix.c
parent895b00f62a7e86724dc7352d67c7808d37366130 (diff)
downloadfocaccia-qemu-4eaab85cb1c1ba9c575d29921df81d63c7aa35df.tar.gz
focaccia-qemu-4eaab85cb1c1ba9c575d29921df81d63c7aa35df.zip
tests: add file-write-read test
This test exhibits a POSIX behaviour regarding switching between write
and read. It's undefined result if the application doesn't ensure a
flush between the two operations (with glibc, the flush can be implicit
when the buffer size is relatively small). The previous commit fixes
this test.

Related to:
https://bugzilla.redhat.com/show_bug.cgi?id=1210246

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'qga/commands-posix.c')
0 files changed, 0 insertions, 0 deletions