mirror of
				https://github.com/jtesta/ssh-audit.git
				synced 2025-11-04 11:12:15 +01:00 
			
		
		
		
	Delete output directory only upon successful run to make debugging easier.
This commit is contained in:
		@@ -707,9 +707,9 @@ run_builtin_policy_test "Hardened OpenSSH Server v8.0 (version 1)" "8.0p1" "test
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
if [[ $num_failures == 0 ]]; then
 | 
					if [[ $num_failures == 0 ]]; then
 | 
				
			||||||
    echo -e "\n${GREENB}ALL TESTS PASS!${CLR}\n"
 | 
					    echo -e "\n${GREENB}ALL TESTS PASS!${CLR}\n"
 | 
				
			||||||
 | 
					    rm -rf $TEST_RESULT_DIR
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
    echo -e "\n${REDB}${num_failures} TESTS FAILED!${CLR}\n"
 | 
					    echo -e "\n${REDB}${num_failures} TESTS FAILED!${CLR}\n"
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
rm -rf $TEST_RESULT_DIR
 | 
					 | 
				
			||||||
exit 0
 | 
					exit 0
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user