From 0b960de1e0e4354c8b823d394ccf6439e54c8f17 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Wed, 8 Jan 2025 15:12:12 +0900 Subject: [PATCH] sim:citest: Bump the nsh line length One of the test scripts tries to send a very long command (166 characters, [1]), which is immediately truncated by NSH. I guess it isn't the intention of the test. [1] https://github.com/apache/nuttx/blob/1bcaacd5cc5413352bd5b7a89ff8bfe1469f0781/tools/ci/testrun/script/test_framework/test_cmocka.py#L50-L55 --- boards/sim/sim/sim/configs/citest/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boards/sim/sim/sim/configs/citest/defconfig b/boards/sim/sim/sim/configs/citest/defconfig index 89760a8f87..a45b23198b 100644 --- a/boards/sim/sim/sim/configs/citest/defconfig +++ b/boards/sim/sim/sim/configs/citest/defconfig @@ -87,6 +87,7 @@ CONFIG_LIBUV_THREADPOOL_SIZE=4 CONFIG_LIBUV_THREAD_STACKSIZE=16384 CONFIG_LIBUV_UTILS_STACKSIZE=65536 CONFIG_LIBUV_UTILS_TEST=y +CONFIG_LINE_MAX=200 CONFIG_MM_IOB=y CONFIG_MQ_MAXMSGSIZE=128 CONFIG_NET=y @@ -99,6 +100,7 @@ CONFIG_NSH_ARCHINIT=y CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_DISABLE_DATE=y CONFIG_NSH_DISABLE_TIMEDATECTL=y +CONFIG_NSH_LINELEN=200 CONFIG_NSH_MOTD=y CONFIG_NSH_MOTD_STRING="MOTD: username=admin password=Administrator" CONFIG_NSH_READLINE=y