From: Razvan Deaconescu Date: Tue, 3 Aug 2010 17:10:42 +0000 (+0300) Subject: ControlScripts: add parse_client_log function to client_script_mappings X-Git-Tag: schedule-scenario~20 X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=commitdiff_plain;h=54fffe1bb3c7c9d01c777dcb4485b6af98253d85;p=p2p-testing-infrastructure.git ControlScripts: add parse_client_log function to client_script_mappings --- diff --git a/ConfigFiles/client_script_mappings b/ConfigFiles/client_script_mappings index 1504afa..9d4e11d 100644 --- a/ConfigFiles/client_script_mappings +++ b/ConfigFiles/client_script_mappings @@ -53,3 +53,20 @@ detect_complete_client() ;; esac } + +parse_client_log() +{ + local client_type=$1 + local log_folder=$2 + local log_file=$3 + + DEBUG echo "stopping client ..." + case "${client_type}" in + "hrktorrent_seeder") + ./parse_hrk.sh ${log_folder} ${log_file} + ;; + "hrktorrent_leecher") + ./parse_hrk.sh ${log_folder} ${log_file} + ;; + esac +}