--- a/common/tools/ats/ats_specialise_test_drop.pl Tue Dec 08 16:19:57 2009 +0000
+++ b/common/tools/ats/ats_specialise_test_drop.pl Wed Dec 09 11:48:17 2009 +0000
@@ -118,11 +118,13 @@
forcearray => [ 'name', 'id','owner','priority','buildid','postaction','type','target','device', 'property', 'command', 'param'],#
keyattr => [] );
-
# Insert the specified test drop name, if any.
$test_drop->{'test'}->{'name'}->[0] = $test_drop_name, if $test_drop_name;
# Insert the specified build id, if any.
$test_drop->{'test'}->{'buildid'}->[0] = $build_id, if $build_id;
+# Insert the FileStoreAction parameter
+my $postaction_params = $test_drop->{'test'}->{'postAction'}->[0]->{'params'}->{'param'};
+$postaction_params->[1] = { 'name' => "to-folder", 'value' => "\\\\localhost\\ats3_testdrop_arrivals\\reports\\" . $test_drop_name };
if ($host_name) { # Also insert specified host name
my $devices = $test_drop->{'test'}->{'target'}->[0]->{'device'};
--- a/common/tools/ats/smoketest/Group/smoketest.xml Tue Dec 08 16:19:57 2009 +0000
+++ b/common/tools/ats/smoketest/Group/smoketest.xml Wed Dec 09 11:48:17 2009 +0000
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml version="1.0"?>
<test>
<id>1</id>
<owner>admin</owner>
@@ -7,7 +7,6 @@
<postAction>
<type>FileStoreAction</type>
<params>
- <param name="to-folder" value="\\localhost\ats3_testdrop_arrivals\reports\§RUN_NAME§"/>
<param name="report-type" value="ATS3_REPORT"/>
</params>
</postAction>