summaryrefslogtreecommitdiff
path: root/Build/tests/largefile/3gb.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Build/tests/largefile/3gb.tex')
-rw-r--r--Build/tests/largefile/3gb.tex16
1 files changed, 16 insertions, 0 deletions
diff --git a/Build/tests/largefile/3gb.tex b/Build/tests/largefile/3gb.tex
new file mode 100644
index 00000000000..a65143631a3
--- /dev/null
+++ b/Build/tests/largefile/3gb.tex
@@ -0,0 +1,16 @@
+% $Id$
+% Check if a 3gb file can be created.
+% (Public domain.)
+\pdfoutput=1
+\pdfcompresslevel=0
+
+\topskip0pt
+\newcount\n
+\loop
+ \pdfximage width \hsize height \vsize {poles.png}
+ \hbox{\pdfrefximage\pdflastximage}
+ \eject
+ \advance\n by1
+ \ifnum\n<3000
+\repeat
+\bye