chiark / gitweb /
REORG Delete everything that's not innduct or build system or changed for innduct
[innduct.git] / tests / lib / hstrerror-t.c
diff --git a/tests/lib/hstrerror-t.c b/tests/lib/hstrerror-t.c
deleted file mode 100644 (file)
index 64163a4..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/* $Id: hstrerror-t.c 5060 2001-12-12 09:20:10Z rra $ */
-/* hstrerror test suite. */
-
-#include "config.h"
-#include <netdb.h>
-#include <stdio.h>
-
-#include "libtest.h"
-
-const char *test_hstrerror(int);
-
-static void
-test_error(int n, const char *expected, int error)
-{
-    ok_string(n, expected, test_hstrerror(error));
-}
-
-int
-main(void)
-{
-    puts("7");
-
-    test_error(1, "Internal resolver error", -1);
-    test_error(2, "No resolver error", 0);
-    test_error(3, "No address associated with name", NO_ADDRESS);
-    test_error(4, "Resolver error 777777", 777777);
-    test_error(5, "Resolver error -99999", -99999);
-    test_error(6, "", 1000000);
-    test_error(7, "", -100000);
-
-    return 0;
-}