summaryrefslogtreecommitdiffstats
path: root/examples/qtest/bookmarks.test
diff options
context:
space:
mode:
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"},