summaryrefslogtreecommitdiff
path: root/Build/source/texk/chktex/chktex.test
blob: 963f373eb96dfff4dcfe36548efde6cea9234817 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/sh -x

# Copyright (C) 2009-2015 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.posix-ere.out chktest || exit 1