diff options
Diffstat (limited to 'Build/source/texk/dvipsk/test-overflow-buffers.test')
-rwxr-xr-x | Build/source/texk/dvipsk/test-overflow-buffers.test | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Build/source/texk/dvipsk/test-overflow-buffers.test b/Build/source/texk/dvipsk/test-overflow-buffers.test index 4c2794826b9..28e314ef0ad 100755 --- a/Build/source/texk/dvipsk/test-overflow-buffers.test +++ b/Build/source/texk/dvipsk/test-overflow-buffers.test @@ -3,7 +3,8 @@ # Public domain. Various buffer overflows, reported by # Andy Nguyen of ETH Zurich. The program should detect and abort. -for tst in overflow-color-push overflow-epsfile overflow-psbox; do +for tst in overflow-color-push overflow-epsfile \ + overflow-ifffile overflow-psbox; do : if ./dvips $srcdir/testdata/$tst.dvi -o; then echo "$0: test $tst should have failed." >&2 @@ -11,4 +12,10 @@ for tst in overflow-color-push overflow-epsfile overflow-psbox; do fi done +# overflow-keyword succeeds, because the special is ignored, +# because the file (named with 999 a's) does not exist. +tst=overflow-keyword +./dvips $srcdir/testdata/$tst.dvi -o || exit 1 +grep ' @setspecial' $tst.ps || exit 1 + exit 0 |