On Thu, May 19, 2022 at 01:28:28AM +0200, Stefano Brivio wrote:...there are no 'test' directives in demo, and this causes a script failure. Signed-off-by: Stefano Brivio <sbrivio(a)redhat.com>Reviewed-by: David Gibson <david(a)gibson.dropbear.id.au>--- test/lib/test | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/lib/test b/test/lib/test index a5583e3..09e8340 100755 --- a/test/lib/test +++ b/test/lib/test @@ -386,8 +386,10 @@ test_one() { return fi - __ntests="$(grep -c "^test$(printf '\t')" "${__test_file}")" - [ ${DEMO} -eq 0 ] && status_file_start "${1}" "${__ntests}" + if [ ${DEMO} -eq 0 ]; then + __ntests="$(grep -c "^test$(printf '\t')" "${__test_file}")" + status_file_start "${1}" "${__ntests}" + fi [ ${CI} -eq 1 ] && video_link "${1}"-- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson