summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/quotecmd-test.pl
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-01-29 00:32:02 +0000
committerKarl Berry <karl@freefriends.org>2011-01-29 00:32:02 +0000
commit7d821df03f20eb5c0379c04ea407c75f2436502f (patch)
tree3b1bef8beaad104deba428956b831b4a4f8f75b2 /Build/source/texk/dvipsk/quotecmd-test.pl
parenteb9f81c6f8ed959b7b4543e0d4e28721394512e0 (diff)
make .tex and test.pl use the same name, report exact popen call if debugging
git-svn-id: svn://tug.org/texlive/trunk@21216 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipsk/quotecmd-test.pl')
-rwxr-xr-xBuild/source/texk/dvipsk/quotecmd-test.pl9
1 files changed, 6 insertions, 3 deletions
diff --git a/Build/source/texk/dvipsk/quotecmd-test.pl b/Build/source/texk/dvipsk/quotecmd-test.pl
index 7e228a27dfd..47ea252d037 100755
--- a/Build/source/texk/dvipsk/quotecmd-test.pl
+++ b/Build/source/texk/dvipsk/quotecmd-test.pl
@@ -11,10 +11,13 @@ exit (&main ());
sub main
{
# create the weirdly-named file which dvips executes with popen.
- # quotecmd.tex itself also creates it, but we don't want to run TeX in
+ # quotecmd.tex also creates it, but we don't want to run TeX in
# this test, nor do we want such a weirdly-named file in our
- # repository, so create it here. Leave it in place, so we can run the
- # program under the debugger if we need to.
+ # repository, so create it here. The names here and in quotecmd.tex
+ # must match exactly or the test won't be testing what it should.
+ #
+ # Leave the file in place, so we can conveniently run dvips under the
+ # debugger if we need to.
my $weirdf = ' 2>&1 | echo badnews >pwned.txt #.gz';
unlink ($weirdf); # ensure no leftover
open (WEIRDF, ">", $weirdf);