t6.pl: pass the --insecure flag to curl so it works on the test machine

This commit is contained in:
Olivier Goffart 2014-10-22 13:57:22 +02:00
parent 7740150576
commit dd45b448d9

View file

@ -39,7 +39,7 @@ sub createPostUpdateScript($)
my $srcFile = localDir().'BIG1.file';
my $cred = configValue("user") . ":" . configValue("passwd");
my $cmd = "curl -T $srcFile -u $cred " . testDirUrl().$name;
my $cmd = "curl -T $srcFile -u $cred --insecure" . testDirUrl().$name;
my $script = "/tmp/post_update_script.sh";
open SC, ">$script" || die("Can not create script file");
print SC "#!/bin/bash\n";