File: test-hyperlinks.sh

package info (click to toggle)
pdf2djvu 0.7.4-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,388 kB
  • ctags: 771
  • sloc: cpp: 5,869; sh: 4,283; xml: 780; makefile: 160; python: 24
file content (13 lines) | stat: -rw-r--r-- 602 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Copyright © 2009 Jakub Wilk
#
# This package is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 dated June, 1991.

# Fixed in [a244b65e0661], [2e5ab20f8a07].

. ./common.sh

test_pdf2djvu
djvused -e 'select 1; print-ant' "$djvu_file" | grep '^(maparea "#p0002.djvu" "" (rect [0-9]\+ [0-9]\+ [0-9]\+ [0-9]\+) (xor))$' > /dev/null
djvused -e 'select 2; print-ant' "$djvu_file" | grep '^(maparea "#p0001.djvu" "" (rect [0-9]\+ [0-9]\+ [0-9]\+ [0-9]\+) (border #ff7f00))$' > /dev/null