aboutsummaryrefslogtreecommitdiff
path: root/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test.sh')
-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