summaryrefslogtreecommitdiffstats
path: root/lib/libc/tests/stdio/fmemopen2_test.c
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-10-28 11:58:18 +0000
committerbapt <bapt@FreeBSD.org>2015-10-28 11:58:18 +0000
commitc21ffb8d6aca32c9584cfa072f309a5890a21aea (patch)
treec13556877cfa7b8f6941e8141a6801cf91e72840 /lib/libc/tests/stdio/fmemopen2_test.c
parentec14b01dd8898deebe0427357d842721add8e34c (diff)
parent39fb527bf90f6a5cb03d93bd49c310bbca016a45 (diff)
downloadFreeBSD-src-c21ffb8d6aca32c9584cfa072f309a5890a21aea.zip
FreeBSD-src-c21ffb8d6aca32c9584cfa072f309a5890a21aea.tar.gz
Merge from head
Sponsored by: Gandi.net
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