about summary refs log tree commit diff
path: root/stdio-common/bug6.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-06-13 17:38:32 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.com>2015-07-08 12:07:21 -0300
commitccfa271f8be0f7c210713e043246b2ece75c2a87 (patch)
treedc90f7bfc2ad7c0aa6c3036ed573e173b9e01c1f /stdio-common/bug6.c
parentfdb7d390dd0d96e4a8239c46f3aa64598b90842b (diff)
downloadglibc-ccfa271f8be0f7c210713e043246b2ece75c2a87.tar.gz
glibc-ccfa271f8be0f7c210713e043246b2ece75c2a87.tar.xz
glibc-ccfa271f8be0f7c210713e043246b2ece75c2a87.zip
libio: Update tst-fmemopen2.c
This patch updates tst-fmemopen2 to check for fmemopen with NULL buffer
inputs and also refactor the code a bit.

The test relies on a POSIX compliant fmemopen implementation.

	* stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
	length buffers.
	* stdio-common/tst-fmemopen.c (do_test): Refactor to use
	test-skeleton.c.
Diffstat (limited to 'stdio-common/bug6.c')
0 files changed, 0 insertions, 0 deletions