summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/ptexdir/pbibtex-longline-test.pl
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2013-02-15 10:06:11 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2013-02-15 10:06:11 +0000
commite38aa1c20001cca438c00dac4f5c0886d142f215 (patch)
tree116e9dc4ad83c5971e58eff4aec9619239b4bd24 /Build/source/texk/web2c/ptexdir/pbibtex-longline-test.pl
parentd3936b33b2d2a5f0fbe7df3ee3774b1bcae2eefb (diff)
Fix several spurious parallel test failures
git-svn-id: svn://tug.org/texlive/trunk@29118 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/ptexdir/pbibtex-longline-test.pl')
-rwxr-xr-xBuild/source/texk/web2c/ptexdir/pbibtex-longline-test.pl11
1 files changed, 5 insertions, 6 deletions
diff --git a/Build/source/texk/web2c/ptexdir/pbibtex-longline-test.pl b/Build/source/texk/web2c/ptexdir/pbibtex-longline-test.pl
index a7db4dadea6..499833d9be9 100755
--- a/Build/source/texk/web2c/ptexdir/pbibtex-longline-test.pl
+++ b/Build/source/texk/web2c/ptexdir/pbibtex-longline-test.pl
@@ -14,19 +14,18 @@ sub main
# The blg and bbl file names are based on the aux name and cannot be
# overridden. We can't write to the aux (source) directory, though,
# because that's an absolute path and openout_any=p. Therefore, copy
- # the input files to our working directory.
- for my $ext ("aux", "bib") {
- &test_file_copy ("$srcdir/tests/longline.$ext", "./longline.$ext");
- }
+ # the input aux file to our working directory and rename it to avoid
+ # spurious parallel test failures.
+ &test_file_copy ("$srcdir/tests/longline.aux", "./plongline.aux");
# Run pBibTeX, quit if it fails.
- my $ret = &test_run ("./pbibtex", "./longline.aux");
+ my $ret = &test_run ("./pbibtex", "./plongline.aux");
return 1 if $ret != 0;
# There should be lines longer than 80 chars in the output.
# (In older versions of pBibTeX, they are forcibly split, with a %.)
local *IN;
- $IN = "longline.bbl";
+ $IN = "plongline.bbl";
open (IN) || die "open($IN) failed: $!";
while (<IN>) {
last if length ($_) >= 80;