diff options
Diffstat (limited to 'Build/source/texk')
-rwxr-xr-x | Build/source/texk/web2c/pdftexdir/expanded.test | 2 | ||||
-rwxr-xr-x | Build/source/texk/web2c/pdftexdir/pdfimage.test | 16 | ||||
-rwxr-xr-x | Build/source/texk/web2c/pdftexdir/pdftex.test | 11 | ||||
-rwxr-xr-x | Build/source/texk/web2c/pdftexdir/pdftosrc.test | 2 | ||||
-rwxr-xr-x | Build/source/texk/web2c/pdftexdir/ttf2afm.test | 2 | ||||
-rwxr-xr-x | Build/source/texk/web2c/pdftexdir/wprob.test | 16 |
6 files changed, 26 insertions, 23 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/expanded.test b/Build/source/texk/web2c/pdftexdir/expanded.test index 819b09bf6cc..f07d5ad584c 100755 --- a/Build/source/texk/web2c/pdftexdir/expanded.test +++ b/Build/source/texk/web2c/pdftexdir/expanded.test @@ -1,5 +1,5 @@ #! /bin/sh -vx -# $Id$ +# $Id: expanded.test 804 2018-05-17 22:29:15Z karl $ # Public domain # David Carlisle: version for \expanded based on existing test scripts # by Peter Breitenlohner and Karl Berry. diff --git a/Build/source/texk/web2c/pdftexdir/pdfimage.test b/Build/source/texk/web2c/pdftexdir/pdfimage.test index e0d73e15bef..d41d1f6c975 100755 --- a/Build/source/texk/web2c/pdftexdir/pdfimage.test +++ b/Build/source/texk/web2c/pdftexdir/pdfimage.test @@ -1,17 +1,15 @@ #! /bin/sh -vx -# $Id$ -# Copyright 2017 Karl Berry <tex-live@tug.org># +# $Id: pdfimage.test 804 2018-05-17 22:29:15Z karl $ +# Copyright 2017-2018 Karl Berry <tex-live@tug.org># # Copyright 2013 Peter Breitenlohner <tex-live@tug.org> # You may freely use, modify and/or distribute this file. -TEXMFCNF=$srcdir/../kpathsea -TEXINPUTS=$srcdir/pdftexdir/tests:$srcdir/tests -TEXFORMATS=. +TEXMFCNF=$srcdir/../kpathsea; export TEXMFCNF +TEXINPUTS=$srcdir/pdftexdir/tests:$srcdir/tests; export TEXINPUTS +TEXFORMATS=.; export TEXFORMATS -export TEXMFCNF TEXINPUTS TEXFORMATS +./pdftex -ini -interaction=batchmode pdfimage </dev/null || exit 1 -./pdftex -ini pdfimage || exit 1 - -./pdftex -fmt=pdfimage pdfimage || exit 1 +./pdftex -fmt=pdfimage -interaction=batchmode pdfimage </dev/null || exit 1 exit 0 diff --git a/Build/source/texk/web2c/pdftexdir/pdftex.test b/Build/source/texk/web2c/pdftexdir/pdftex.test index bce3f17791a..0bd27896d0b 100755 --- a/Build/source/texk/web2c/pdftexdir/pdftex.test +++ b/Build/source/texk/web2c/pdftexdir/pdftex.test @@ -1,10 +1,11 @@ #! /bin/sh -vx -# $Id$ -# Copyright 2017 Karl Berry <tex-live@tug.org> +# $Id: pdftex.test 804 2018-05-17 22:29:15Z karl $ +# Copyright 2017-2018 Karl Berry <tex-live@tug.org> # Copyright 2010 Peter Breitenlohner <tex-live@tug.org> # You may freely use, modify and/or distribute this file. -# Not really a test, just making sure the program executes. - -./pdftex -version || exit 1 +# Make sure the program executes. +./pdftex --version || exit 1 +./pdftex --help || exit 1 +exit 0 diff --git a/Build/source/texk/web2c/pdftexdir/pdftosrc.test b/Build/source/texk/web2c/pdftexdir/pdftosrc.test index defd105b662..e93c3e83eab 100755 --- a/Build/source/texk/web2c/pdftexdir/pdftosrc.test +++ b/Build/source/texk/web2c/pdftexdir/pdftosrc.test @@ -1,5 +1,5 @@ #! /bin/sh -vx -# $Id$ +# $Id: pdftosrc.test 804 2018-05-17 22:29:15Z karl $ # Copyright 2017 Karl Berry <tex-live@tug.org> # Copyright 2011 Peter Breitenlohner <tex-live@tug.org> # You may freely use, modify and/or distribute this file. diff --git a/Build/source/texk/web2c/pdftexdir/ttf2afm.test b/Build/source/texk/web2c/pdftexdir/ttf2afm.test index 12ffcbfe779..ac9ce833349 100755 --- a/Build/source/texk/web2c/pdftexdir/ttf2afm.test +++ b/Build/source/texk/web2c/pdftexdir/ttf2afm.test @@ -1,5 +1,5 @@ #! /bin/sh -vx -# $Id$ +# $Id: ttf2afm.test 804 2018-05-17 22:29:15Z karl $ # Copyright 2017 Karl Berry <tex-live@tug.org># # Copyright 2013 Peter Breitenlohner <tex-live@tug.org> # You may freely use, modify and/or distribute this file. diff --git a/Build/source/texk/web2c/pdftexdir/wprob.test b/Build/source/texk/web2c/pdftexdir/wprob.test index 8ec3e093bcf..893e65316fc 100755 --- a/Build/source/texk/web2c/pdftexdir/wprob.test +++ b/Build/source/texk/web2c/pdftexdir/wprob.test @@ -1,15 +1,19 @@ #! /bin/sh -vx -# $Id$ -# Copyright 2017 Karl Berry <tex-live@tug.org> +# $Id: wprob.test 804 2018-05-17 22:29:15Z karl $ +# Copyright 2017-2018 Karl Berry <tex-live@tug.org> # Copyright 2011-2013 Peter Breitenlohner <tex-live@tug.org> # You may freely use, modify and/or distribute this file. rm -rf pwprob.* -cp $srcdir/tests/wprob.tex ./pwprob.tex +cp "$srcdir/tests/wprob.tex" ./pwprob.tex || exit 1 -TEXMFCNF=$srcdir/../kpathsea \ - ./pdftex --ini --etex --file-line-error --interaction=nonstopmode pwprob.tex +TEXMFCNF=$srcdir/../kpathsea; export TEXMFCNF + +# this command is expected to fail. +./pdftex --ini --etex --file-line-error --interaction=nonstopmode pwprob.tex \ +&& exit 1 grep '^\./pwprob\.tex:12: Could not open file NoSuchFile\.eps\.$' \ - pwprob.log || exit 1 + pwprob.log || exit 1 +exit 0 |