diff --git a/src/freedombone-tests b/src/freedombone-tests index 4056ad04..b91623ad 100755 --- a/src/freedombone-tests +++ b/src/freedombone-tests @@ -1093,10 +1093,19 @@ function test_stig { 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 "Passes: $PASSES" - echo "Fails: $FAILS" + echo $"Passes: $PASSES" + echo $"Fails: $FAILS" if [ $FAILS -gt 0 ]; then exit 792353 fi