diff options
author | Thorsten Schöning <tschoening@users.noreply.github.com> | 2015-11-23 15:40:04 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2016-01-24 17:52:09 +0100 |
commit | eff935ab60095c54df3d5beec63fc1b3569bdc11 (patch) | |
tree | 08d64f07b5732bbaa4fd8f09836accf5535c391e | |
parent | adbaa54ad43ffb3fd436704d621fe0df9562987b (diff) | |
download | qpdf-eff935ab60095c54df3d5beec63fc1b3569bdc11.tar.zst |
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.
-rw-r--r-- | qpdf/qtest/qpdf.test | 5 |
1 files changed, 5 insertions, 0 deletions
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; |