blob: 0688a60352b1f652037d87e23089f4d9034a294c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#! /bin/sh -vx
# $Id$
# Public domain. Originally written by Karl Berry
# Basic check that --cnf-line does something.
BinDir=${BinDir:-.}
ExeExt=${ExeExt:-}
_pdftex=$BinDir/pdftex$ExeExt
LC_ALL=C; export LC_ALL; LANGUAGE=C; export LANGUAGE
TEXMFCNF=$srcdir/../kpathsea; export TEXMFCNF
TEXINPUTS=$srcdir/pdftexdir/tests; export TEXINPUTS
$_pdftex -ini --interaction=nonstopmode \
--cnf-line=max_print_line=500 cnfline.tex || exit $?
if grep 'those hyphens are' cnfline.log >/dev/null; then
: # ok, all ended up on one line
else
echo "log message got broken despite max_print_line" >&2
cat cnfline.log >&2
exit 1
fi
exit 0
|