When archiving results, we need to append a slash to the path to ensure it gets 
correctly handled as a directory.

Signed-off-by: Steve Howard <[email protected]>

--- autotest/scheduler/archive_results.py       2010-01-25 17:35:52.000000000 
-0800
+++ autotest/scheduler/archive_results.py       2010-01-25 17:35:52.000000000 
-0800
@@ -11,6 +11,9 @@
         if not results_host or results_host == 'localhost':
             return
 
+        if not path.endswith('/'):
+            path += '/'
+
         logging.info('Archiving %s to %s', path, results_host)
         utility = drone_utility.DroneUtility()
         utility.sync_send_file_to(results_host, path, path, can_fail=True)
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to