Commit fc91cbab authored by Paul E. McKenney's avatar Paul E. McKenney

rcutorture: Don't keep empty console.log.diags files

Currently, an error-free run produces an empty console.log.diags file.
This can be annoying when using "vi */console.log.diags" to see a full
summary of the errors.  This commit therefore removes any empty files
during the analysis process.
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
parent f5a5386b
......@@ -70,4 +70,6 @@ then
summary="$summary Stalls: $n_stalls"
fi
print_warning Summary: $summary
else
rm $1.diags
fi
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment