Fix regression test error

Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
This commit is contained in:
Matthew Stidham
2021-03-11 11:25:05 -08:00
parent 3d61ee2e5f
commit c1a0261f90

View File

@@ -208,7 +208,7 @@ function echo_print() {
echo "Beginning $CURR_TEST_NAME test..." >>${HOMEPATH}/test_all_output_file.txt
}
function run_test()nano r e {
function run_test() {
for i in "${testCommands[@]}"; do
if [[ $mgrlen -gt 0 ]]; then
./scenario.py --load FACTORY_DFLT --mgr ${MGR}
@@ -226,7 +226,7 @@ function run_test()nano r e {
echo ""
echo "Test $CURR_TEST_NUM: $CURR_TEST_NAME"
if (( $CURR_TEST_NUM > $START_NUM )) || (( $CURR_TEST_NUM == $START_NUM )); then
#if (( $CURR_TEST_NUM > $START_NUM )) || (( $CURR_TEST_NUM == $START_NUM )); then
echo_print
echo "$i"
$i > "${TEST_DIR}/${NAME}.txt" 2> "${TEST_DIR}/${NAME}_stderr.txt"
@@ -243,7 +243,7 @@ function run_test()nano r e {
<td><a href=\"${URL2}/${NAME}.txt\" target=\"_blank\">STDOUT</a></td>
<td></td></tr>")
fi
fi
#fi
done
echo ${results}
}