Fix test.sh for Alpine's current lowriter
All checks were successful
Arch Linux AUR Success
Alpine 3.19 Success

This commit is contained in:
Přemysl Eric Janouch 2024-04-09 22:50:39 +02:00
parent a02966d1d1
commit 147b880524
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -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