chiark / gitweb /
REORG Delete everything that's not innduct or build system or changed for innduct
[innduct.git] / tests / lib / strerror-t.c
diff --git a/tests/lib/strerror-t.c b/tests/lib/strerror-t.c
deleted file mode 100644 (file)
index 014d055..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-/* $Id: strerror-t.c 5559 2002-08-11 23:43:48Z rra $ */
-/* strerror test suite. */
-
-#include "config.h"
-#include "clibrary.h"
-#include <errno.h>
-
-#include "libtest.h"
-
-const char *test_strerror(int);
-
-int
-main(void)
-{
-    puts("5");
-
-#if HAVE_STRERROR
-    ok_string(1, strerror(EACCES), test_strerror(EACCES));
-    ok_string(2, strerror(0), test_strerror(0));
-#else
-    ok(1, strerror(EACCES) != NULL);
-    ok(2, strerror(0) != NULL);
-#endif
-    ok_string(3, "Error code 77777", test_strerror(77777));
-    ok_string(4, "Error code -4000", test_strerror(-4000));
-    ok_string(5, "Error code -100000", test_strerror(-100000));
-
-    return 0;
-}