From b8b954a3e9d2eaaa8b40a0d50263d171f088c634 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 25 Nov 2019 11:41:10 +0100 Subject: libtests/dl*: Use rtems_tarfs_load() Use rtems_tarfs_load() instead of Untar_FromMemory() to reduce the memory demands of the tests. --- testsuites/libtests/dl09/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuites/libtests/dl09/init.c') diff --git a/testsuites/libtests/dl09/init.c b/testsuites/libtests/dl09/init.c index 5343a1dcdf..eafb5f4516 100644 --- a/testsuites/libtests/dl09/init.c +++ b/testsuites/libtests/dl09/init.c @@ -18,7 +18,7 @@ #include #include -#include +#include #include "dl-load.h" @@ -48,7 +48,7 @@ static void Init(rtems_task_argument arg) TEST_BEGIN(); - te = Untar_FromMemory((void *)TARFILE_START, (size_t)TARFILE_SIZE); + te = rtems_tarfs_load("/", (void *)TARFILE_START, (size_t)TARFILE_SIZE); if (te != 0) { printf("untar failed: %d\n", te); -- cgit v1.2.3