From 65431289a0aa7ee034c277ce64068e5a740ea93a Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Mon, 24 Aug 2026 19:00:54 -1000 Subject: Prefer POSIX forms throughout the test scripts --- tests/t0002-html-validity.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/t0002-html-validity.sh') diff --git a/tests/t0002-html-validity.sh b/tests/t0002-html-validity.sh index 842437c..d5103d2 100755 --- a/tests/t0002-html-validity.sh +++ b/tests/t0002-html-validity.sh @@ -32,8 +32,7 @@ test_url() fi } -tidy=$(which tidy 2>/dev/null) -test -n "$tidy" || { +tidy=$(command -v tidy) || { skip_all='Skipping html validation tests: tidy not found' test_done exit -- cgit 2.12.1