|
@@ -33,8 +33,12 @@ PROJECT_NAME='freedombone'
|
33
|
33
|
export TEXTDOMAIN=${PROJECT_NAME}-tests
|
34
|
34
|
export TEXTDOMAINDIR="/usr/share/locale"
|
35
|
35
|
|
|
36
|
+# Whether to run STIG tests
|
36
|
37
|
RUN_STIG=
|
37
|
38
|
|
|
39
|
+# Whether to show both passes and fails of STIG tests
|
|
40
|
+SHOW_ALL_TESTS=
|
|
41
|
+
|
38
|
42
|
function show_help {
|
39
|
43
|
echo ''
|
40
|
44
|
echo $"${PROJECT_NAME}-tests"
|
|
@@ -1108,6 +1112,10 @@ do
|
1108
|
1112
|
show_help
|
1109
|
1113
|
;;
|
1110
|
1114
|
-s|--stig)
|
|
1115
|
+ shift
|
|
1116
|
+ if [[ "$1" == 'showall' ]]; then
|
|
1117
|
+ SHOW_ALL_TESTS=1
|
|
1118
|
+ fi
|
1111
|
1119
|
RUN_STIG=1
|
1112
|
1120
|
;;
|
1113
|
1121
|
*)
|