diff options
author | Jakob Kaivo <jkk@ung.org> | 2019-03-01 19:52:25 -0500 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2019-03-01 19:52:25 -0500 |
commit | 3819846f8ad95b40d98d0a544fd16533590e30cb (patch) | |
tree | 666978ec4c1bffd766bfc723162c715778cd836a | |
parent | 7ddf768dad85f1f6b5f3abb245c49c00e63b7111 (diff) |
add testing errno as an lvalue and rvalue
-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(); } |