[rtems-libbsd commit] tests: Increase stack size for dhcpcd

Sebastian Huber sebh at rtems.org
Wed Sep 30 13:56:49 UTC 2015


Module:    rtems-libbsd
Branch:    master
Commit:    880d9299f1fc2054f74c32673afe856dd82fc276
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=880d9299f1fc2054f74c32673afe856dd82fc276

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Sep 30 14:56:24 2015 +0200

tests: Increase stack size for dhcpcd

On i386 with optimization disabled the minimum stack size was not
enough.

---

 testsuite/include/rtems/bsd/test/default-network-init.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite/include/rtems/bsd/test/default-network-init.h b/testsuite/include/rtems/bsd/test/default-network-init.h
index 2981bca..df32392 100644
--- a/testsuite/include/rtems/bsd/test/default-network-init.h
+++ b/testsuite/include/rtems/bsd/test/default-network-init.h
@@ -196,7 +196,7 @@ default_network_dhcpcd(void)
 	sc = rtems_task_create(
 		rtems_build_name('D', 'H', 'C', 'P'),
 		RTEMS_MAXIMUM_PRIORITY - 1,
-		RTEMS_MINIMUM_STACK_SIZE,
+		2 * RTEMS_MINIMUM_STACK_SIZE,
 		RTEMS_DEFAULT_MODES,
 		RTEMS_FLOATING_POINT,
 		&id




More information about the vc mailing list