From 147b8805247ca23fb96e51694f78439ab24f93a2 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Tue, 9 Apr 2024 22:50:39 +0200 Subject: Fix test.sh for Alpine's current lowriter --- test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 831a15e..40bd165 100755 --- a/test.sh +++ b/test.sh @@ -66,7 +66,8 @@ for tool in "$@"; do # Only some of our generators use PDF versions higher than 1.5 log "Testing $tool for version detection" - grep -q "/Version /1.6" "$result" || grep -q "^%PDF-1.6" "$result" \ + grep -q "/Version /1[.]6" "$result" \ + || grep -q "^%PDF-1[.][67]" "$result" \ || die "Version detection seems to misbehave (no upgrade)" done -- cgit v1.2.3-70-g09d2