diff options
| -rw-r--r-- | errno.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -14,6 +14,8 @@ void test_errno_h(void) testing_header("errno.h"); test_distinct(errno_values); + errno = 0; + test_int_equals(errno, 0); testing_end(); } |
![]() |
index : libc-tests | |
| tests for conformance with ISO/IEC 9899 |
| summaryrefslogtreecommitdiff |
| -rw-r--r-- | errno.c | 2 |
@@ -14,6 +14,8 @@ void test_errno_h(void) testing_header("errno.h"); test_distinct(errno_values); + errno = 0; + test_int_equals(errno, 0); testing_end(); } |