diff --git a/test/unit/xmalloc.c b/test/unit/xmalloc.c index 36f768b834dfd823a02e52d8af737742fb86127f..9c836de53999244653c1e2684bdb06f1cf4b4e68 100644 --- a/test/unit/xmalloc.c +++ b/test/unit/xmalloc.c @@ -1,3 +1,4 @@ +#define UNIT_TAP_COMPATIBLE 1 #include "unit.h" #include "trivia/util.h" diff --git a/test/unit/xmalloc.result b/test/unit/xmalloc.result deleted file mode 100644 index 82b61ba5dc2ea1784e64671384b02f7d831dda0e..0000000000000000000000000000000000000000 --- a/test/unit/xmalloc.result +++ /dev/null @@ -1,38 +0,0 @@ - *** main *** -1..5 - *** test_xmalloc *** - 1..1 - ok 1 - p != NULL -ok 1 - subtests - *** test_xmalloc: done *** - *** test_xcalloc *** - 1..2 - ok 1 - p != NULL - ok 2 - p is zeroed -ok 2 - subtests - *** test_xcalloc: done *** - *** test_xrealloc *** - 1..3 - ok 1 - p != NULL on alloc - ok 2 - p != NULL on realloc - ok 3 - p is same after realloc -ok 3 - subtests - *** test_xrealloc: done *** - *** test_xstrdup *** - 1..3 - ok 1 - s != NULL - ok 2 - copy != NULL - ok 3 - strcmp(s, copy) == 0 -ok 4 - subtests - *** test_xstrdup: done *** - *** test_xstrndup *** - 1..6 - ok 1 - s != NULL - ok 2 - copy != NULL - ok 3 - strlen(copy) == n - ok 4 - strncmp(s, copy, n) == 0 - ok 5 - strncmp(s, copy, n + 1) > 0 - ok 6 - strcmp(s, copy) > 0 -ok 5 - subtests - *** test_xstrndup: done *** - *** main: done ***