From eff935ab60095c54df3d5beec63fc1b3569bdc11 Mon Sep 17 00:00:00 2001 From: Thorsten Schöning Date: Mon, 23 Nov 2015 15:40:04 +0100 Subject: Use absolute paths for large file tests Working with absolute paths makes debugging easier, but some called scripts always need / as dir separator or won't work. --- qpdf/qtest/qpdf.test | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qpdf/qtest/qpdf.test b/qpdf/qtest/qpdf.test index 8d4f0638..fd5f2236 100644 --- a/qpdf/qtest/qpdf.test +++ b/qpdf/qtest/qpdf.test @@ -24,6 +24,11 @@ if ((exists $ENV{'QPDF_SKIP_TEST_COMPARE_IMAGES'}) && $compare_images = 0; } my $large_file_test_path = $ENV{'QPDF_LARGE_FILE_TEST_PATH'} || undef; +if (defined($large_file_test_path)) +{ + $large_file_test_path = File::Spec->rel2abs($large_file_test_path); + $large_file_test_path =~ s!\\!/!g; +} my $have_acroread = 0; -- cgit v1.2.3-54-g00ecf