libvirt/tests
Jim Meyering 3ce465f819 Don't fail to read a file because it's non-seekable (e.g., a pipe).
* src/util.c (fread_file_lim): New function.
(__virFileReadAll): Use fread_file_lim, rather than requiring
that stat.st_size provide a usable file size.
* tests/read-non-seekable: New test, for the above.
* tests/Makefile.am (test_scripts): Add read-non-seekable.
* tests/test-lib.sh (mkfifo_or_skip_): New helper function.
2008-04-08 15:33:16 +00:00
..
confdata * NEWS virsh.1 docs//* include/libvirt/libvirt.h[.in] qemud/mdns.h 2008-03-17 10:27:31 +00:00
nodeinfodata Use gnulib, starting with its physmem and getaddrinfo modules. 2007-12-05 21:31:07 +00:00
qemuxml2argvdata Fixed PXE network boot config 2007-09-13 22:06:54 +00:00
sexpr2xmldata Added support for booting off kenrel+initrd with HVM guests 2008-02-05 16:21:25 +00:00
virshdata Fixed virsh test suite 2007-01-26 13:10:28 +00:00
xencapsdata Add formal internal capabilities API and update drivers to use it 2008-02-27 04:35:08 +00:00
xmconfigdata Cleanup UUID apis & constants 2007-08-09 20:19:12 +00:00
xml2sexprdata Added support for booting off kenrel+initrd with HVM guests 2008-02-05 16:21:25 +00:00
.cvsignore Fix device name -> number conversion for block stats 2008-01-29 18:36:00 +00:00
conftest.c Enable the <config.h>-requiring test; fix violations 2008-01-29 18:15:54 +00:00
daemon-conf Test libvirtd's config-processing code. 2007-12-11 21:20:13 +00:00
int-overflow Oops, forgot, Daniel 2007-11-12 14:07:37 +00:00
Makefile.am Don't fail to read a file because it's non-seekable (e.g., a pipe). 2008-04-08 15:33:16 +00:00
nodeinfotest.c Enable the <config.h>-requiring test; fix violations 2008-01-29 18:15:54 +00:00
qemuxml2argvtest.c Add formal internal capabilities API and update drivers to use it 2008-02-27 04:35:08 +00:00
qemuxml2xmltest.c Add formal internal capabilities API and update drivers to use it 2008-02-27 04:35:08 +00:00
read-non-seekable Don't fail to read a file because it's non-seekable (e.g., a pipe). 2008-04-08 15:33:16 +00:00
reconnect.c Remove all trailing blanks; turn on the rule to detect them. 2008-02-05 19:27:37 +00:00
sexpr2xmltest.c Added support for booting off kenrel+initrd with HVM guests 2008-02-05 16:21:25 +00:00
statstest.c With --without-xen, avoid warning about unused function. 2008-02-22 12:33:47 +00:00
test_conf.sh Remove all trailing blanks; turn on the rule to detect them. 2008-02-05 19:27:37 +00:00
test_xmlrpc.sh XML-RPC tests 2006-05-09 15:35:46 +00:00
test-lib.sh Don't fail to read a file because it's non-seekable (e.g., a pipe). 2008-04-08 15:33:16 +00:00
testutils.c Enable the <config.h>-requiring test; fix violations 2008-01-29 18:15:54 +00:00
testutils.h Remove all trailing blanks; turn on the rule to detect them. 2008-02-05 19:27:37 +00:00
vcpupin * tests/vcpupin: Add a test for the 2008-04-04 virsh.c bugfix. 2008-04-07 12:12:34 +00:00
virshtest.c Remove all trailing blanks; turn on the rule to detect them. 2008-02-05 19:27:37 +00:00
xencapstest.c Add formal internal capabilities API and update drivers to use it 2008-02-27 04:35:08 +00:00
xmconfigtest.c Enable the <config.h>-requiring test; fix violations 2008-01-29 18:15:54 +00:00
xml2sexprtest.c Remove all trailing blanks; turn on the rule to detect them. 2008-02-05 19:27:37 +00:00
xmlrpcserver.py XML-RPC tests 2006-05-09 15:35:46 +00:00
xmlrpctest.c Remove more useless if tests before "free"-like functions. 2008-02-07 16:49:29 +00:00