From 6b9dac473def1e6ed0daedb9eb35664fbbfffb8c Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Mon, 24 Aug 2026 16:51:55 -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 v2.8.0