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/unistd/errno.c | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 test/unistd/errno.c (limited to 'test/unistd/errno.c') diff --git a/test/unistd/errno.c b/test/unistd/errno.c deleted file mode 100644 index 5d4fc726a..000000000 --- a/test/unistd/errno.c +++ /dev/null @@ -1,29 +0,0 @@ -/* based originally on one the clone tests in the LTP */ - -#include -#include -#include -#include -#include "clone_cruft.h" - -__attribute__ ((__noreturn__)) -static int child_fn(void *arg) -{ - fprintf(stderr, "in child_fn\n"); - exit(1); -} - -int main(void) -{ - int r_clone, ret_errno; - - r_clone = do_clone(child_fn, NULL, 0, NULL); - ret_errno = errno; - if (ret_errno != EINVAL || r_clone != -1) { - fprintf(stderr, "clone: res=%d (wanted -1) errno=%d (wanted %d)\n", - r_clone, errno, EINVAL); - return 1; - } - - return 0; -} -- cgit v1.2.3