diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-03-10 16:20:01 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-03-17 19:44:51 +0530 |
commit | b1dbb426e164ad1236c2c76268e03fec5c7a7bbe (patch) | |
tree | 9e3a263e48066fd376234a4e03cebc542eb6b36a /libio/iofdopen.c | |
parent | fcd89ebe4f5ea948ff4c796771b918cde8960721 (diff) | |
download | glibc-b1dbb426e164ad1236c2c76268e03fec5c7a7bbe.tar.gz glibc-b1dbb426e164ad1236c2c76268e03fec5c7a7bbe.tar.xz glibc-b1dbb426e164ad1236c2c76268e03fec5c7a7bbe.zip |
Fix up return codes for tests in tst-ftell-active-handler
The test functions used a variable ret to store failure codes for individual tests, but the variable was incorrectly used to record other failure codes too, resulting in overwriting of the tests status. This is now fixed by making sure that the ret variable is used only for recording test failures. * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix up test status with function return status. (do_write_test): Likewise. (do_append_test): Likewise.
Diffstat (limited to 'libio/iofdopen.c')
0 files changed, 0 insertions, 0 deletions