From 05bb57bc8c9e7bebbb9741fa931320b01bdcc491 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Fri, 16 Oct 2020 15:13:14 +0200 Subject: [PATCH] regress: Fix bconsole-test when readline is not available --- regress/tests/bconsole-test | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/regress/tests/bconsole-test b/regress/tests/bconsole-test index 6fe226c16..d54c28f31 100755 --- a/regress/tests/bconsole-test +++ b/regress/tests/bconsole-test @@ -120,7 +120,8 @@ if [ $? -ne 0 ]; then estat=13 fi -if [ ! -f $tmp/histfile ]; then +ldd $bin/bconsole | grep readline > /dev/null +if [ $? = 0 && ! -f $tmp/histfile ]; then print_debug "bconsole history file not found" estat=14 fi -- 2.47.3