mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-06 21:58:04 +00:00
regression_test: log_filter isn't ready for production
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
@@ -455,7 +455,7 @@ function test() {
|
|||||||
LOGGING="<a href=\"${URL2}/logs/${NAME}\" target=\"_blank\">Logging directory</a>"
|
LOGGING="<a href=\"${URL2}/logs/${NAME}\" target=\"_blank\">Logging directory</a>"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ${#LOGGING} -gt 0 ]]; then
|
if [[ ${#LOGGING} == "farfegnugen" ]]; then
|
||||||
mkdir "${LOG_DIR}/${NAME}"
|
mkdir "${LOG_DIR}/${NAME}"
|
||||||
if [[ $MGR == "localhost" ]]; then
|
if [[ $MGR == "localhost" ]]; then
|
||||||
cp "${HOMEPATH}"/lanforge_log* "${LOG_DIR}/${NAME}"
|
cp "${HOMEPATH}"/lanforge_log* "${LOG_DIR}/${NAME}"
|
||||||
@@ -466,9 +466,9 @@ function test() {
|
|||||||
sshpass -p "lanforge" scp lanforge@"${MGR}":~/run_client* "${LOG_DIR}/${NAME}"
|
sshpass -p "lanforge" scp lanforge@"${MGR}":~/run_client* "${LOG_DIR}/${NAME}"
|
||||||
sshpass -p "lanforge" scp lanforge@"${MGR}":~/run_mgr* "${LOG_DIR}/${NAME}"
|
sshpass -p "lanforge" scp lanforge@"${MGR}":~/run_mgr* "${LOG_DIR}/${NAME}"
|
||||||
fi
|
fi
|
||||||
for file in "${LOG_DIR}/${NAME}"/lanforge_log*; do
|
#for file in "${LOG_DIR}/${NAME}"/lanforge_log*; do
|
||||||
./log_filter.py --input_file "$file" --timestamp "$START_TIME" --output_file "$file"
|
# ./log_filter.py --input_file "$file" --timestamp "$START_TIME" --output_file "$file"
|
||||||
done
|
#done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
results+=("<tr><td>${CURR_TEST_NAME}</td>
|
results+=("<tr><td>${CURR_TEST_NAME}</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user