summaryrefslogtreecommitdiff
path: root/Build/source/texk/chktex/chktex.test
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/chktex/chktex.test')
-rwxr-xr-xBuild/source/texk/chktex/chktex.test14
1 files changed, 14 insertions, 0 deletions
diff --git a/Build/source/texk/chktex/chktex.test b/Build/source/texk/chktex/chktex.test
new file mode 100755
index 00000000000..3ae9c35e766
--- /dev/null
+++ b/Build/source/texk/chktex/chktex.test
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
+rm -f chktest
+
+(bld=`pwd`
+ cd $srcdir/$CHKTEX_TREE || exit 1
+ CHKTEX_CONFIG=chktexrc \
+ $bld/chktex -mall -r -g0 -lchktexrc -v5 Test.tex || exit 1
+) >chktest || exit 1
+
+diff $srcdir/$CHKTEX_TREE/Test.out chktest || exit 1