regression_test: log_filter isn't ready for production

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
Matthew Stidham
2022-01-11 10:53:55 -08:00
committed by shivam
parent f53050bb3d
commit aa5b4b14ef

View File

@@ -455,7 +455,7 @@ function test() {
LOGGING="<a href=\"${URL2}/logs/${NAME}\" target=\"_blank\">Logging directory</a>"
fi
if [[ ${#LOGGING} -gt 0 ]]; then
if [[ ${#LOGGING} == "farfegnugen" ]]; then
mkdir "${LOG_DIR}/${NAME}"
if [[ $MGR == "localhost" ]]; then
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_mgr* "${LOG_DIR}/${NAME}"
fi
for file in "${LOG_DIR}/${NAME}"/lanforge_log*; do
./log_filter.py --input_file "$file" --timestamp "$START_TIME" --output_file "$file"
done
#for file in "${LOG_DIR}/${NAME}"/lanforge_log*; do
# ./log_filter.py --input_file "$file" --timestamp "$START_TIME" --output_file "$file"
#done
fi
results+=("<tr><td>${CURR_TEST_NAME}</td>