Show passes and fails
This commit is contained in:
parent
1a1e8826a6
commit
1c392150aa
|
@ -1093,10 +1093,19 @@ function test_stig {
|
|||
output "V-58901" $? ${SETLANG}
|
||||
################
|
||||
|
||||
show_passes_fails=
|
||||
if [ $SHOW_ALL_TESTS ]; then
|
||||
show_passes_fails=1
|
||||
else
|
||||
if [ $FAILS -gt 0 ]; then
|
||||
show_passes_fails=1
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ $show_passes_fails ]; then
|
||||
echo ''
|
||||
echo "Passes: $PASSES"
|
||||
echo "Fails: $FAILS"
|
||||
echo $"Passes: $PASSES"
|
||||
echo $"Fails: $FAILS"
|
||||
if [ $FAILS -gt 0 ]; then
|
||||
exit 792353
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue