summaryrefslogtreecommitdiffstats
path: root/lib/libc/tests/stdio/fmemopen2_test.c
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2015-10-01 19:02:45 +0000
committerdim <dim@FreeBSD.org>2015-10-01 19:02:45 +0000
commitc88ca1c4064bdfc5aa9a040453a2bedcab5563cf (patch)
tree65e063ba4063b01c208d44deddda2fe59ac5f224 /lib/libc/tests/stdio/fmemopen2_test.c
parentd3edc9664e05776279ed8ad8a20ad14cdd579030 (diff)
parente6448d3ce04113fa55305f4d9b53a92f11189be6 (diff)
downloadFreeBSD-src-c88ca1c4064bdfc5aa9a040453a2bedcab5563cf.zip
FreeBSD-src-c88ca1c4064bdfc5aa9a040453a2bedcab5563cf.tar.gz
Merge ^/head r288197 through r288456.
Diffstat (limited to 'lib/libc/tests/stdio/fmemopen2_test.c')
-rw-r--r--lib/libc/tests/stdio/fmemopen2_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/tests/stdio/fmemopen2_test.c b/lib/libc/tests/stdio/fmemopen2_test.c
index d137780..9555173 100644
--- a/lib/libc/tests/stdio/fmemopen2_test.c
+++ b/lib/libc/tests/stdio/fmemopen2_test.c
@@ -97,6 +97,7 @@ ATF_TC_BODY(test_preexisting, tc)
/* Close the FILE *. */
rc = fclose(fp);
+ ATF_REQUIRE(rc == 0);
/* Check that the string was not modified after the first 4 bytes. */
ATF_REQUIRE(strcmp(str, str3) == 0);
OpenPOWER on IntegriCloud