Extend strerror to cover the added errno values.
[pspp] / tests / test-strerror.c
index 752afe27e0e1adbc42786eceb10dfedd797cd5b1..3d9814d5d4c8c4ea08af1b757341106ab8f14dde 100644 (file)
@@ -40,10 +40,19 @@ int
 main (int argc, char **argv)
 {
   char *str;
+
   str = strerror (EACCES);
   ASSERT (str);
   ASSERT (*str);
 
+  str = strerror (ETIMEDOUT);
+  ASSERT (str);
+  ASSERT (*str);
+
+  str = strerror (EOVERFLOW);
+  ASSERT (str);
+  ASSERT (*str);
+
   str = strerror (0);
   ASSERT (str);
   ASSERT (*str);