blob: 32334dd1e46264824612f0ed04330b7f315ff311 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#! /bin/sh
#
# Copyright (C) 2012 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.
usage () {
echo "usage: $0 DVIPS" >&2
echo " test that dvips can create PS files with >2GB" >&2
echo "" >&2
echo " where DVIPS is the path to dvips" >&2
exit 1
}
test -n "$1" && test -x "$1" || usage
dir=`dirname "$0"`
TEXMFCNF=`cd "$dir" && pwd`
TEXPSHEADERS=$dir
export TEXMFCNF TEXPSHEADERS
DVIPS=`dirname "$1"`/`basename "$1"`
echo testing "'$DVIPS'"
echo
if "$DVIPS" $dir/largeps; then
echo
ls -lh largeps.ps
echo PASS: largeps.test
else
echo
echo FAIL: largeps.test
exit 1
fi
|