| 
				
			 | 
			
			
				@@ -46,7 +46,8 @@ function show_help { 
			 | 
		
	
		
			
			| 
				46
			 | 
			
				46
			 | 
			
			
				     echo '' 
			 | 
		
	
		
			
			| 
				47
			 | 
			
				47
			 | 
			
			
				     echo $'Runs tests on the system' 
			 | 
		
	
		
			
			| 
				48
			 | 
			
				48
			 | 
			
			
				     echo '' 
			 | 
		
	
		
			
			| 
				49
			 | 
			
				
			 | 
			
			
				-    echo $'     --stig [yes|no|fix]  Run STIG tests' 
			 | 
		
	
		
			
			| 
				
			 | 
			
				49
			 | 
			
			
				+    echo $'  -s --stig [yes|no|fix]  Run STIG tests' 
			 | 
		
	
		
			
			| 
				
			 | 
			
				50
			 | 
			
			
				+    echo $'  -a --static             Run static analysis on scripts' 
			 | 
		
	
		
			
			| 
				50
			 | 
			
				51
			 | 
			
			
				     echo $'     --help               Show help' 
			 | 
		
	
		
			
			| 
				51
			 | 
			
				52
			 | 
			
			
				     echo '' 
			 | 
		
	
		
			
			| 
				52
			 | 
			
				53
			 | 
			
			
				     exit 0 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -1284,6 +1285,12 @@ do 
			 | 
		
	
		
			
			| 
				1284
			 | 
			
				1285
			 | 
			
			
				         -h|--help) 
			 | 
		
	
		
			
			| 
				1285
			 | 
			
				1286
			 | 
			
			
				             show_help 
			 | 
		
	
		
			
			| 
				1286
			 | 
			
				1287
			 | 
			
			
				             ;; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				1288
			 | 
			
			
				+        -a|--static) 
			 | 
		
	
		
			
			| 
				
			 | 
			
				1289
			 | 
			
			
				+            echo $'Running static analysis tests' 
			 | 
		
	
		
			
			| 
				
			 | 
			
				1290
			 | 
			
			
				+            test_static_analysis 
			 | 
		
	
		
			
			| 
				
			 | 
			
				1291
			 | 
			
			
				+            echo $'All tests passed' 
			 | 
		
	
		
			
			| 
				
			 | 
			
				1292
			 | 
			
			
				+            exit 0 
			 | 
		
	
		
			
			| 
				
			 | 
			
				1293
			 | 
			
			
				+            ;; 
			 | 
		
	
		
			
			| 
				1287
			 | 
			
				1294
			 | 
			
			
				         -s|--stig) 
			 | 
		
	
		
			
			| 
				1288
			 | 
			
				1295
			 | 
			
			
				             shift 
			 | 
		
	
		
			
			| 
				1289
			 | 
			
				1296
			 | 
			
			
				             if [[ "$1" == 'showall' ]]; then 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -1303,7 +1310,6 @@ if [ ! "$RUN_STIG" ]; then 
			 | 
		
	
		
			
			| 
				1303
			 | 
			
				1310
			 | 
			
			
				 fi 
			 | 
		
	
		
			
			| 
				1304
			 | 
			
				1311
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				1305
			 | 
			
				1312
			 | 
			
			
				 test_app_functions 
			 | 
		
	
		
			
			| 
				1306
			 | 
			
				
			 | 
			
			
				-test_static_analysis 
			 | 
		
	
		
			
			| 
				1307
			 | 
			
				1313
			 | 
			
			
				 test_unique_onion_ports 
			 | 
		
	
		
			
			| 
				1308
			 | 
			
				1314
			 | 
			
			
				 remove_management_engine_interface 
			 | 
		
	
		
			
			| 
				1309
			 | 
			
				1315
			 | 
			
			
				 freedombone-pass --test yes 
			 |