aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2024-04-09 22:50:39 +0200
committerPřemysl Eric Janouch <p@janouch.name>2024-04-09 22:50:39 +0200
commit147b8805247ca23fb96e51694f78439ab24f93a2 (patch)
treef38b2423a4a8033e7d264ec8319327ebd63fd3ae
parenta02966d1d1a79e45b81a99d4c0627efb2d7c8a00 (diff)
downloadpdf-simple-sign-147b8805247ca23fb96e51694f78439ab24f93a2.tar.gz
pdf-simple-sign-147b8805247ca23fb96e51694f78439ab24f93a2.tar.xz
pdf-simple-sign-147b8805247ca23fb96e51694f78439ab24f93a2.zip
Fix test.sh for Alpine's current lowriterHEADorigin/mastermaster
-rwxr-xr-xtest.sh3
1 files changed, 2 insertions, 1 deletions
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