summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/tests
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/tests')
-rwxr-xr-xBuild/source/texk/web2c/tests/bibtex-longline-test.pl6
-rwxr-xr-xBuild/source/texk/web2c/tests/bibtex-openout-test.pl2
2 files changed, 3 insertions, 5 deletions
diff --git a/Build/source/texk/web2c/tests/bibtex-longline-test.pl b/Build/source/texk/web2c/tests/bibtex-longline-test.pl
index d800be2ef93..694378ef8cf 100755
--- a/Build/source/texk/web2c/tests/bibtex-longline-test.pl
+++ b/Build/source/texk/web2c/tests/bibtex-longline-test.pl
@@ -14,10 +14,8 @@ 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.
+ &test_file_copy ("$srcdir/tests/longline.aux", "./longline.aux");
# Run BibTeX, quit if it fails.
my $ret = &test_run ("./bibtex", "./longline.aux");
diff --git a/Build/source/texk/web2c/tests/bibtex-openout-test.pl b/Build/source/texk/web2c/tests/bibtex-openout-test.pl
index cc00564e5d3..a9788545eb5 100755
--- a/Build/source/texk/web2c/tests/bibtex-openout-test.pl
+++ b/Build/source/texk/web2c/tests/bibtex-openout-test.pl
@@ -14,7 +14,7 @@ sub main
$ENV{"openout_any"} = "p"; # should already be in texmf.cnf, but ...
# .blg open of abs path should fail:
- my $ret = &test_run ("./bibtex", "$srcdir/exampl.aux");
+ my $ret = &test_run ("./bibtex", "$srcdir/tests/exampl.aux");
# The test fails if the program succeeded. Could also check the output.
my $bad = ($ret == 0);