summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/quotecmd-test.pl
diff options
context:
space:
mode:
authorDenis Bitouzé <dbitouze@wanadoo.fr>2021-02-25 18:23:07 +0000
committerDenis Bitouzé <dbitouze@wanadoo.fr>2021-02-25 18:23:07 +0000
commitc6101f91d071883b48b1b4b51e5eba0f36d9a78d (patch)
tree1bf7f5a881d7a4f5c5bf59d0b2821943dd822372 /Build/source/texk/dvipsk/quotecmd-test.pl
parent07ee7222e389b0777456b427a55c22d0e6ffd267 (diff)
French translation for tlmgr updated
git-svn-id: svn://tug.org/texlive/trunk@57912 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipsk/quotecmd-test.pl')
-rwxr-xr-xBuild/source/texk/dvipsk/quotecmd-test.pl34
1 files changed, 0 insertions, 34 deletions
diff --git a/Build/source/texk/dvipsk/quotecmd-test.pl b/Build/source/texk/dvipsk/quotecmd-test.pl
deleted file mode 100755
index 47ea252d037..00000000000
--- a/Build/source/texk/dvipsk/quotecmd-test.pl
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/usr/bin/env perl
-# $Id$
-# Public domain. Originally written 2010, Karl Berry.
-# Check that dvips quotes external command arguments.
-
-BEGIN { chomp ($srcdir = $ENV{"srcdir"} || `dirname $0`); }
-require "$srcdir/../tests/common-test.pl";
-
-exit (&main ());
-
-sub main
-{
- # create the weirdly-named file which dvips executes with popen.
- # 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. 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);
- close (WEIRDF) || die "open(weird file name) failed: $!";
-
- $badfile = "pwned.txt"; # will be created if program is broken
- unlink ($badfile); # ensure no leftover from previous test
-
- my @args = ("$srcdir/testdata/quotecmd.dvi", qw(-o /dev/null));
- my $ret = &test_run ("./dvips", @args);
-
- my $bad = -f $badfile; # file should not have been created
- return $bad;
-}