diff options
Diffstat (limited to 'Build/source/texk/musixtnt/musixtnt-2015-02-09/msxlint.test')
-rwxr-xr-x | Build/source/texk/musixtnt/musixtnt-2015-02-09/msxlint.test | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Build/source/texk/musixtnt/musixtnt-2015-02-09/msxlint.test b/Build/source/texk/musixtnt/musixtnt-2015-02-09/msxlint.test new file mode 100755 index 00000000000..efdf3620005 --- /dev/null +++ b/Build/source/texk/musixtnt/musixtnt-2015-02-09/msxlint.test @@ -0,0 +1,28 @@ +#! /bin/sh + +# Copyright (C) 2015 Peter Breitenlohner <tex-live@tug.org> +# You may freely use, modify and/or distribute this file. + +echo && echo "*** msxlint --help" +./msxlint --help || exit 1 + +echo && echo "*** msxlint --version" +./msxlint --version || exit 1 + +: ${testsrc:=$srcdir/tests} + +echo && echo "*** msxlint -d tests/badtest" +./msxlint -d $testsrc/badtest && exit 1 + +echo && echo "*** msxlint tests/linttest >linttest.out1" +./msxlint $testsrc/linttest | sed '/^This/,/^Processing/d' >linttest.out1 || exit 1 + +echo && echo "*** diff tests/linttest.out linttest.out1" +diff $testsrc/linttest.out linttest.out1 || exit 1 + +echo && echo "*** cat tests/linttest.tex | msxlint >linttest.out2" +cat $testsrc/linttest.tex | ./msxlint | sed '/^This/,/^Processing/d' >linttest.out2 || exit 1 + +echo && echo "*** diff tests/linttest.out linttest.out2" +diff $testsrc/linttest.out linttest.out2 || exit 1 + |