Skip to content
Permalink
Browse files

shell_history_test: make the test succeed on 64-bit targets

A buffer size of 128 bytes is just not quite big enough on 64-bit
targets.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
  • Loading branch information...
Nicolas Pitre authored and nashif committed Jul 4, 2019
1 parent 06136e5 commit 70e77becb1c8a69f509bd69621163754731f2372
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/subsys/shell/shell_history/src/shell_history_test.c
@@ -14,7 +14,7 @@

#include <shell/shell_history.h>

#define HIST_BUF_SIZE 128
#define HIST_BUF_SIZE 160
SHELL_HISTORY_DEFINE(history, HIST_BUF_SIZE);

static void init_test_buf(u8_t *buf, size_t len, u8_t offset)

0 comments on commit 70e77be

Please sign in to comment.
You can’t perform that action at this time.