summaryrefslogtreecommitdiff
path: root/test/unistd/errno.c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-28 20:29:21 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-28 20:31:55 +0200
commit99ef2719fb3d703fe38c4113cd7f5adec516dd3a (patch)
tree2c1f77cb41b60ccbf8faa77a3640491a3546b546 /test/unistd/errno.c
parent543308f6c46cf2edf8a524bc9c631e472570fe72 (diff)
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.
Diffstat (limited to 'test/unistd/errno.c')
-rw-r--r--test/unistd/errno.c29
1 files changed, 0 insertions, 29 deletions
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 <stdio.h>
-#include <stdlib.h>
-#include <errno.h>
-#include <sched.h>
-#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;
-}