mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-11-01 19:37:54 +00:00
testbed: Clean up old reports
Before moving new one into place to upload it to orchestrator. Hopefully this fixes jumbled reports.
This commit is contained in:
@@ -250,6 +250,7 @@ for ($i = 0; $i<@lines; $i++) {
|
||||
if ($ap_out =~ /Results-Dir: (.*)/g) {
|
||||
my $rslts_dir = $1;
|
||||
print ("Found results at: $rslts_dir\n");
|
||||
do_system("rm -fr /tmp/$report_name");
|
||||
do_system("mv $rslts_dir /tmp/$report_name");
|
||||
do_system("scp -r /tmp/$report_name $report_to/");
|
||||
do_system("echo $fname > /tmp/NEW_RESULTS-$fname");
|
||||
|
||||
Reference in New Issue
Block a user