summaryrefslogtreecommitdiff
path: root/Build/source/texk/chktex/chktex.test
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-07-24 09:00:18 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-07-24 09:00:18 +0000
commitc1841336503cc8eb2355c2eab40012c856f18369 (patch)
treecc621dbfe9646083a4ae860a614f291bdb97ce58 /Build/source/texk/chktex/chktex.test
parent5c61483aad70d3170b38c8c4a5b74d6f1c7581fd (diff)
chktex: Move from utils/ to texk/, now using kpathsea
git-svn-id: svn://tug.org/texlive/trunk@27137 c570f23f-e606-0410-a88d-b1316a301751
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