From 99ef2719fb3d703fe38c4113cd7f5adec516dd3a Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 28 Oct 2016 20:29:21 +0200 Subject: test: remove test suite The test suite is now a developed in a separate git repository. See here: http://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng-test.git The test suite should be just like every other software compiled with the cross-toolchain. In the past strange problems where found when the test suite got build in the toolchain creation step. --- test/inet/gethost.c | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 test/inet/gethost.c (limited to 'test/inet/gethost.c') diff --git a/test/inet/gethost.c b/test/inet/gethost.c deleted file mode 100644 index 77467e9e3..000000000 --- a/test/inet/gethost.c +++ /dev/null @@ -1,40 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include - -int main(void) -{ - in_addr_t addr = inet_addr("127.0.0.1"); - struct hostent *hent; - - hent = gethostent(); - if (hent == NULL) { - printf("gethostent(%d):%s\n", errno, hstrerror(h_errno)); - exit(1); - } - - hent = gethostbyname("localhost"); - if (hent == NULL) { - printf("gethostbyname(%d):%s\n", errno, hstrerror(h_errno)); - exit(1); - } - - hent = gethostbyname2("localhost", AF_INET); - if (hent == NULL) { - printf("gethostbyname2(%d):%s\n", errno, hstrerror(h_errno)); - exit(1); - } - - hent = gethostbyaddr(&addr, sizeof(addr), AF_INET); - if (hent == NULL) { - printf("gethostbyaddr(%d):%s\n", errno, hstrerror(h_errno)); - exit(1); - } - - return 0; -} - -- cgit v1.2.3