Details
Description
Without the following patch, the rc from a test suite is not propagated to auster. As a result, auster always declares success, making it necessary to check results.yml to determine the outcome of the tests.
--- a/lustre/tests/auster +++ b/lustre/tests/auster @@ -210,6 +210,8 @@ run_suite() { [[ ! -f $TF_SKIP ]] || rm -f $TF_SKIP reset_lustre + + return $rc } run_suite_logged() { @@ -227,10 +229,13 @@ run_suite_logged() { local log_name=${suite_name}.suite_log.$(hostname -s).log if $verbose; then run_suite $suite_name $suite_script 2>&1 |tee $LOGDIR/$log_name + local rc=${PIPESTATUS[0]} else run_suite $suite_name $suite_script > $LOGDIR/$log_name 2>&1 + local rc=$? fi + return $rc }