diff options
author | dim <dim@FreeBSD.org> | 2015-10-01 19:02:45 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2015-10-01 19:02:45 +0000 |
commit | c88ca1c4064bdfc5aa9a040453a2bedcab5563cf (patch) | |
tree | 65e063ba4063b01c208d44deddda2fe59ac5f224 /lib/libc/tests/stdio/fmemopen2_test.c | |
parent | d3edc9664e05776279ed8ad8a20ad14cdd579030 (diff) | |
parent | e6448d3ce04113fa55305f4d9b53a92f11189be6 (diff) | |
download | FreeBSD-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.c | 1 |
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); |