summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/crypt01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/libtests/crypt01/init.c')
-rw-r--r--testsuites/libtests/crypt01/init.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/testsuites/libtests/crypt01/init.c b/testsuites/libtests/crypt01/init.c
index 527a151034..37966a0200 100644
--- a/testsuites/libtests/crypt01/init.c
+++ b/testsuites/libtests/crypt01/init.c
@@ -1,13 +1,7 @@
/*
* Copyright (c) 2011 The FreeBSD Project. All rights reserved.
*
- * Copyright (c) 2014 embedded brains GmbH. All rights reserved.
- *
- * embedded brains GmbH
- * Dornierstr. 4
- * 82178 Puchheim
- * Germany
- * <rtems@embedded-brains.de>
+ * Copyright (c) 2014 embedded brains GmbH & Co. KG
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -42,6 +36,8 @@
#include <crypt.h>
#include <string.h>
+#include <rtems/stackchk.h>
+
#include "tmacros.h"
const char rtems_test_name[] = "CRYPT 1";
@@ -240,18 +236,20 @@ static void Init(rtems_task_argument arg)
test_sha512();
test_generic();
+ rtems_test_assert(!rtems_stack_checker_is_blown());
TEST_END();
rtems_test_exit(0);
}
#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER
+#define CONFIGURE_STACK_CHECKER_ENABLED
#define CONFIGURE_MAXIMUM_TASKS 1
#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
-#define CONFIGURE_INIT_TASK_STACK_SIZE (2 * RTEMS_MINIMUM_STACK_SIZE)
+#define CONFIGURE_INIT_TASK_STACK_SIZE (8 * RTEMS_MINIMUM_STACK_SIZE)
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE