summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/block04/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/libtests/block04/init.c')
-rw-r--r--testsuites/libtests/block04/init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuites/libtests/block04/init.c b/testsuites/libtests/block04/init.c
index 122c24742b..a7bda26dee 100644
--- a/testsuites/libtests/block04/init.c
+++ b/testsuites/libtests/block04/init.c
@@ -19,14 +19,14 @@
* http://www.rtems.com/license/LICENSE.
*/
-#include <assert.h>
+#include "tmacros.h"
#include <rtems.h>
#include <rtems/ramdisk.h>
#include <rtems/bdbuf.h>
#include <rtems/diskdevs.h>
-#define ASSERT_SC(sc) assert((sc) == RTEMS_SUCCESSFUL)
+#define ASSERT_SC(sc) rtems_test_assert((sc) == RTEMS_SUCCESSFUL)
#define PRIORITY_INIT 10
@@ -66,7 +66,7 @@ static void task_low(rtems_task_argument arg)
printk("L: sync done: 0\n");
- assert(false);
+ rtems_test_assert(false);
}
static void task_high(rtems_task_argument arg)