aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qtest/bookmarks.test
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2018-02-04 20:25:59 +0100
committerJay Berkenbilt <ejb@ql.org>2018-02-04 20:26:34 +0100
commit9732de7ea4689f5dc7e4139cf580c457a3cf41d9 (patch)
tree48bc9951b55f69e5f8216bdbd3a782c3821d6c57 /examples/qtest/bookmarks.test
parent95ba7125ffa4efd4022fd27ab61ff739b0864258 (diff)
downloadqpdf-9732de7ea4689f5dc7e4139cf580c457a3cf41d9.tar.zst
Rename test output files (fixes #173)
Some file names had `...` in their name, which causes problems on some systems.
Diffstat (limited to 'examples/qtest/bookmarks.test')
-rw-r--r--examples/qtest/bookmarks.test4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/qtest/bookmarks.test b/examples/qtest/bookmarks.test
index 1a5306d6..655be2e6 100644
--- a/examples/qtest/bookmarks.test
+++ b/examples/qtest/bookmarks.test
@@ -13,7 +13,9 @@ foreach my $show ("", " -show-open")
{
foreach my $style ("", " -lines", " -numbers")
{
- my $out = "test.$show.$style.out";
+ my $xshow = $show ? $show : "x";
+ my $xstyle = $style ? $style : "x";
+ my $out = "test.$xshow.$xstyle.out";
$out =~ s/ //g;
$td->runtest("show:$show, style:$style",
{$td->COMMAND => "pdf-bookmarks $show $style 1.pdf"},