From: Eric Bollengier Date: Fri, 16 Oct 2020 13:13:14 +0000 (+0200) Subject: regress: Fix bconsole-test when readline is not available X-Git-Tag: Release-11.3.2~912 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05bb57bc8c9e7bebbb9741fa931320b01bdcc491;p=thirdparty%2Fbacula.git regress: Fix bconsole-test when readline is not available --- 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