From e7f13cc3ca44e20357c3907dff51a4a40e9258d5 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Wed, 9 Oct 2024 20:42:59 +0200 Subject: [PATCH] tests: consistency with other tests --- tests/tests.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/tests.sh b/tests/tests.sh index 0559fb2..3f0cdd0 100755 --- a/tests/tests.sh +++ b/tests/tests.sh @@ -82,7 +82,7 @@ _test() #usage _usage() { - echo "Usage: $PROGNAME [-c][-P prefix]" 1>&2 + echo "Usage: $PROGNAME [-c][-P prefix] target" 1>&2 return 1 } @@ -95,7 +95,7 @@ while getopts "cP:" name; do clean=1 ;; P) - #XXX ignored + #XXX ignored for compatibility ;; ?) _usage @@ -110,7 +110,7 @@ if [ $# -ne 1 ]; then fi target="$1" -[ "$clean" -ne 0 ] && exit 0 +[ $clean -ne 0 ] && exit 0 tests="mime mimehandler pkgconfig.sh" failures=