From 70eb4af9d67bf957ed837938ba431036cb4e9bf3 Mon Sep 17 00:00:00 2001 From: Lluis Campos Date: Wed, 16 Sep 2020 14:21:45 +0200 Subject: [PATCH] [test-utils.sh] Clean the pip list + grep command So that we clean the deprecation warning and the multiple errors when calling this command from CI. Changelog: None Signed-off-by: Lluis Campos --- scripts/test/test-utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test/test-utils.sh b/scripts/test/test-utils.sh index 4a182eb..49b8dfe 100644 --- a/scripts/test/test-utils.sh +++ b/scripts/test/test-utils.sh @@ -92,7 +92,7 @@ run_tests() { converted_image_name="${converted_image_file%.img}" - if pip3 list | grep -q -e pytest-html; then + if pip3 list --format=columns | grep pytest-html; then html_report_args="--html=${MENDER_CONVERT_DIR}/report_${device_type}.html --self-contained-html" fi