summaryrefslogtreecommitdiff
path: root/test/recipes/15-test_out_option.t
diff options
context:
space:
mode:
Diffstat (limited to 'test/recipes/15-test_out_option.t')
-rw-r--r--test/recipes/15-test_out_option.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/recipes/15-test_out_option.t b/test/recipes/15-test_out_option.t
index 018ff3d00d..f50001d48b 100644
--- a/test/recipes/15-test_out_option.t
+++ b/test/recipes/15-test_out_option.t
@@ -36,7 +36,8 @@ test_illegal_path('../');
# Test for trying to create a file in a non-exist directory
my @chars = ("A".."Z", "a".."z", "0".."9");
-my $rand_path = $chars[rand @chars] for 1..32;
+my $rand_path = "";
+$rand_path .= $chars[rand @chars] for 1..32;
$rand_path .= "/test.pem";
test_illegal_path($rand_path);