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