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/malloc/tst-asprintf.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/malloc/tst-asprintf.c')
-rw-r--r-- | test/malloc/tst-asprintf.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/test/malloc/tst-asprintf.c b/test/malloc/tst-asprintf.c deleted file mode 100644 index d4c3f7676..000000000 --- a/test/malloc/tst-asprintf.c +++ /dev/null @@ -1,27 +0,0 @@ -#include <unistd.h> -#include <stdlib.h> -#include <string.h> -#include <stdio.h> -#include <malloc.h> - -static void my_stats(void) -{ - malloc_stats(); - fprintf(stderr, "\n"); -} - -int main(int argc, char *argv[]) -{ - char *a, *b; - - my_stats(); - asprintf(&b, "asdsadasd %ssdf\n", "AAAA"); - my_stats(); - asprintf(&a, "asdsadasd %ssdf\n", "AAAA"); - my_stats(); - free(a); - free(b); - my_stats(); - - return 0; -} |