criu/test/zdtm/lib
Mike Rapoport d8c974d651 zdtm: lib: add {read,write}_data helpers
Some tests expect that all the data will be handled in a single invocation
of read/write system call. But it possible to have short read/write on a
loaded system and this is not an error.
Add helper functions that will reliably read/write the entire buffer.

Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
2017-12-12 09:12:44 +03:00
..
arch s390/zdtm: Also support z900 (debian) 2017-08-09 18:51:41 +03:00
cpuid.h zdtm: Add cpuid.h 2012-12-21 17:35:44 +04:00
datagen.c zdtm: avoid arithmetic overflow in datagen and datachk 2017-10-22 06:34:53 +03:00
fs.c zdtm: rely on -D_GNU_SOURCE passed from Makefiles 2017-04-11 09:01:08 +03:00
fs.h include sys/sysmacros.h for minor/major/makedev funcs 2016-12-09 22:42:27 +03:00
groups.c zdtm: Get dir of init.pid file 2016-03-09 12:49:52 +03:00
groups.desc zdtm.py: The groups_test class for running groups 2015-12-08 14:54:52 +03:00
lock.c zdtm: rely on -D_GNU_SOURCE passed from Makefiles 2017-04-11 09:01:08 +03:00
lock.h zdtm: don't trigger BUG if futex returns EINTR 2016-09-06 19:31:19 +03:00
Makefile test/zdtm: unify common code 2017-04-02 18:12:10 +03:00
msg.c test_msg(): avoid recursion 2015-10-26 12:12:54 +03:00
ns.c zdtm: rely on -D_GNU_SOURCE passed from Makefiles 2017-04-11 09:01:08 +03:00
ns.h zdtm: fix race in test_waitsig for multithreaded tests 2013-03-06 00:31:14 +04:00
parseargs.c zdtm: close an external tty 2012-09-13 16:09:13 +04:00
parseargs.sh zdtm: Zero Downtime Migration Test Suite 2011-12-02 17:49:08 +04:00
stop_and_chk.sh zdtm: Zero Downtime Migration Test Suite 2011-12-02 17:49:08 +04:00
streamutil.c zdtm: lib: add {read,write}_data helpers 2017-12-12 09:12:44 +03:00
tcp.c zdtm: check a case when one port is shared between two sockets 2017-11-23 20:23:14 +03:00
test.c zdtm: rework a synchronization scheme 2017-10-17 10:21:45 +03:00
zdtmtst.h zdtm: lib: add {read,write}_data helpers 2017-12-12 09:12:44 +03:00