From 3bfc95b3c2a06ed8f235799477e4164bdcccfa78 Mon Sep 17 00:00:00 2001 From: Mattias Wadman Date: Sun, 19 Sep 2021 11:58:37 +0200 Subject: [PATCH] test: Nicer test output --- dev/testjq.sh | 2 +- pkg/cli/test.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dev/testjq.sh b/dev/testjq.sh index 3ff8acef..c3d9ffa2 100755 --- a/dev/testjq.sh +++ b/dev/testjq.sh @@ -5,6 +5,6 @@ FQ="$1" shift for f in "$@"; do - echo "$f" + echo "testjq $f" "$FQ" -nr -L "$(dirname "$f")" -f "$f" done diff --git a/pkg/cli/test.sh b/pkg/cli/test.sh index a04e0f49..6986e17e 100755 --- a/pkg/cli/test.sh +++ b/pkg/cli/test.sh @@ -15,6 +15,7 @@ if which expect >/dev/null 2>&1; then if [ $FAIL = "1" ]; then exit 1 fi + echo "$0" else - echo "skip as expect is not installed" + echo "$0: skip as expect is not installed" fi