Fixed typo. $-sign should have been &
authorMike Kinghan <mikek@symbian.org>
Thu, 04 Jun 2009 11:41:08 +0100
changeset 139 7f5b4e3699cb
parent 138 d3c5dd0ae0b0
child 140 5254e26c433d
child 143 f2ac8aeae6bb
child 193 19a76650e06d
Fixed typo. $-sign should have been &
common/tools/ats/ats3_testdrop.pl
--- a/common/tools/ats/ats3_testdrop.pl	Wed Jun 03 18:30:15 2009 +0100
+++ b/common/tools/ats/ats3_testdrop.pl	Thu Jun 04 11:41:08 2009 +0100
@@ -103,7 +103,7 @@
 $url .= "&schedule=$schedule", if (defined($schedule));
 # Post URL to server with cURL.
 my $curl_cmd = "curl \"$url\"";
-my $curl_response = `$curl_cmd 2>$1`;
+my $curl_response = `$curl_cmd 2>&1`;
 die("\nTest drop failed: $!\n"), if ($?);
 if ($curl_response =~ /(TEST_RUN_REF_ID=\d+)/) {
     #extract test run id from cURL response.