summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-01-11 14:31:17 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-01-11 14:31:17 +0000
commitadd55984a417ef0bc7fcde2e3ae7dd9e93bbf85b (patch)
treeab5ff87522711679db9309f850809538403309b4 /t
parent851f49a849a679759595bd28f6015f99357a2ec6 (diff)
downloadperl-add55984a417ef0bc7fcde2e3ae7dd9e93bbf85b.tar.gz
Yet another twist.
p4raw-id: //depot/perl@14188
Diffstat (limited to 't')
-rw-r--r--t/test.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/test.pl b/t/test.pl
index 379e136a53..5f358b9a81 100644
--- a/t/test.pl
+++ b/t/test.pl
@@ -280,7 +280,8 @@ sub runperl {
my %args = @_;
my $runperl = $^X;
if ($args{switches}) {
- _quote_args(\$runperl, $args{switches});
+ _quote_args(\$runperl,
+ ref $args{switches} ? $args{switches} : [$args{switches}]);
}
unless ($args{nolib}) {
if ($is_macos) {