summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--errno.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/errno.c b/errno.c
index 3418970..4eaed65 100644
--- a/errno.c
+++ b/errno.c
@@ -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();
}