summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/dl10
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-11-25 11:41:10 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-11-26 07:21:44 +0100
commitb8b954a3e9d2eaaa8b40a0d50263d171f088c634 (patch)
tree3d4da4235e7e6dbc2e9655e4d4f779fd49ff0831 /testsuites/libtests/dl10
parentpsxinttypes01: Remove invalid test cases (diff)
downloadrtems-b8b954a3e9d2eaaa8b40a0d50263d171f088c634.tar.bz2
libtests/dl*: Use rtems_tarfs_load()
Use rtems_tarfs_load() instead of Untar_FromMemory() to reduce the memory demands of the tests.
Diffstat (limited to 'testsuites/libtests/dl10')
-rw-r--r--testsuites/libtests/dl10/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/libtests/dl10/init.c b/testsuites/libtests/dl10/init.c
index 214bc7e789..d3a0457f88 100644
--- a/testsuites/libtests/dl10/init.c
+++ b/testsuites/libtests/dl10/init.c
@@ -21,7 +21,7 @@
#include <rtems/rtl/rtl.h>
#include <rtems/rtl/rtl-shell.h>
#include <rtems/shell.h>
-#include <rtems/untar.h>
+#include <rtems/imfs.h>
#include "dl-load.h"
@@ -52,7 +52,7 @@ static void Init(rtems_task_argument arg)
TEST_BEGIN();
- e = Untar_FromMemory((void *)TARFILE_START, (size_t)TARFILE_SIZE);
+ e = rtems_tarfs_load("/", (void *)TARFILE_START, (size_t)TARFILE_SIZE);
if (e != 0)
{
printf ("error: untar failed: %d\n", e);