summaryrefslogtreecommitdiff
path: root/Build/tests/largefile/largeps.test
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-02-25 19:22:25 +0000
committerKarl Berry <karl@freefriends.org>2021-02-25 19:22:25 +0000
commitad547a6b5986815fda458221149728d9d9ab1d87 (patch)
tree16296910eb3eca724371474ea9aea3994dc69614 /Build/tests/largefile/largeps.test
parent947b43de3dd21d58ccc2ffadefc4441ea1c2a813 (diff)
restore Build,TODO from r57911
git-svn-id: svn://tug.org/texlive/trunk@57915 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/tests/largefile/largeps.test')
-rwxr-xr-xBuild/tests/largefile/largeps.test33
1 files changed, 33 insertions, 0 deletions
diff --git a/Build/tests/largefile/largeps.test b/Build/tests/largefile/largeps.test
new file mode 100755
index 00000000000..32334dd1e46
--- /dev/null
+++ b/Build/tests/largefile/largeps.test
@@ -0,0 +1,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