diff options
Diffstat (limited to 'test/TEX/LATEX.py')
-rw-r--r-- | test/TEX/LATEX.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/TEX/LATEX.py b/test/TEX/LATEX.py index 34c5d13..d80636f 100644 --- a/test/TEX/LATEX.py +++ b/test/TEX/LATEX.py @@ -162,7 +162,7 @@ It has an Index and includes another file. latex3 = r""" \index{include} -This is the include file. +This is the include file. mod %s \printindex{} """ @@ -175,8 +175,8 @@ This is the include file. test.subdir('subdir') test.write('latexi.tex', latex1 % 'latexi.tex'); - test.write([ 'subdir', 'latexinputfile.tex'], latex2) - test.write([ 'subdir', 'latexincludefile.tex'], latex3) + test.write([ 'subdir', 'latexinputfile'], latex2) + test.write([ 'subdir', 'latexincludefile.tex'], latex3 % '1') test.run(arguments = 'foo.dvi', stderr = None) test.must_not_exist('wrapper.out') @@ -193,6 +193,9 @@ This is the include file. test.must_exist('latexi.dvi') test.must_exist('latexi.ind') + test.write([ 'subdir', 'latexincludefile.tex'], latex3 % '2') + test.not_up_to_date(arguments = 'latexi.dvi', stderr = None) + test.run(arguments = '-c', stderr = None) test.must_not_exist('latexi.ind') test.must_not_exist('latexi.ilg') |