diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-10-28 20:29:21 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-10-28 20:31:55 +0200 |
commit | 99ef2719fb3d703fe38c4113cd7f5adec516dd3a (patch) | |
tree | 2c1f77cb41b60ccbf8faa77a3640491a3546b546 /test/misc/tst-statfs.c | |
parent | 543308f6c46cf2edf8a524bc9c631e472570fe72 (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/misc/tst-statfs.c')
-rw-r--r-- | test/misc/tst-statfs.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/test/misc/tst-statfs.c b/test/misc/tst-statfs.c deleted file mode 100644 index b8b4229ba..000000000 --- a/test/misc/tst-statfs.c +++ /dev/null @@ -1,31 +0,0 @@ -#include <sys/vfs.h> -#include <errno.h> -#include <stdio.h> -#include <stdlib.h> -#include <string.h> - -int -main(int argc, char* argv[]) -{ - struct statfs s; - int ret = 0, i; - - for (i = 1; i < argc; i++) { - if (statfs(argv[i], &s) != 0) { - fprintf(stderr, "%s: %s: statfs failed. %s\n", - *argv, argv[i], strerror(errno)); - exit(EXIT_FAILURE); - } - ++ret; - printf("statfs %s:\n\tblocks=%lld\n\tblkfree=%lld\n\tbsize=%d\n", - argv[i], s.f_blocks, s.f_bfree, s.f_bsize); -#ifdef _STATFS_F_FRSIZE - printf("\tfrsize=%lld\n", s.f_frsize); -#elif defined __mips__ - printf("\tfrsize=mips, unsupported?\n"); -#else -# error no _STATFS_F_FRSIZE -#endif - } - exit(ret ? EXIT_SUCCESS : EXIT_FAILURE); -} |