diff -r d3c5dd0ae0b0 -r 7f5b4e3699cb 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.