aboutsummaryrefslogtreecommitdiff
path: root/tests/testcurl.pl
diff options
context:
space:
mode:
authorDagobert Michelsen <dam@opencsw.org>2015-03-21 15:38:56 +0100
committerDaniel Stenberg <daniel@haxx.se>2015-03-21 15:57:08 +0100
commit57dc2f7e4047fccce93f7feac31750a02d47ff8e (patch)
tree3432860753141ad7aa34dda945964fe86efb601e /tests/testcurl.pl
parentb734518371a3375c6475d0c9c0aa41b0d5af224a (diff)
testcurl: Allow '=' in values given on command line
Diffstat (limited to 'tests/testcurl.pl')
-rwxr-xr-xtests/testcurl.pl14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/testcurl.pl b/tests/testcurl.pl
index 8c804e4cb..5d28817e1 100755
--- a/tests/testcurl.pl
+++ b/tests/testcurl.pl
@@ -88,25 +88,25 @@ $setupfile = 'setup';
$configurebuild = 1;
while ($ARGV[0]) {
if ($ARGV[0] =~ /--target=/) {
- $targetos = (split(/=/, shift @ARGV))[1];
+ $targetos = (split(/=/, shift @ARGV, 2))[1];
}
elsif ($ARGV[0] =~ /--setup=/) {
- $setupfile = (split(/=/, shift @ARGV))[1];
+ $setupfile = (split(/=/, shift @ARGV, 2))[1];
}
elsif ($ARGV[0] =~ /--extvercmd=/) {
- $extvercmd = (split(/=/, shift @ARGV))[1];
+ $extvercmd = (split(/=/, shift @ARGV, 2))[1];
}
elsif ($ARGV[0] =~ /--mktarball=/) {
- $mktarball = (split(/=/, shift @ARGV))[1];
+ $mktarball = (split(/=/, shift @ARGV, 2))[1];
}
elsif ($ARGV[0] =~ /--name=/) {
- $name = (split(/=/, shift @ARGV))[1];
+ $name = (split(/=/, shift @ARGV, 2))[1];
}
elsif ($ARGV[0] =~ /--email=/) {
- $email = (split(/=/, shift @ARGV))[1];
+ $email = (split(/=/, shift @ARGV, 2))[1];
}
elsif ($ARGV[0] =~ /--desc=/) {
- $desc = (split(/=/, shift @ARGV))[1];
+ $desc = (split(/=/, shift @ARGV, 2))[1];
}
elsif ($ARGV[0] =~ /--configure=(.*)/) {
$confopts = $1;