Delete output directory only upon successful run to make debugging easier.

This commit is contained in:
Joe Testa 2020-11-05 20:25:34 -05:00
parent 0d9881966c
commit 00dc22b00b

View File

@ -707,9 +707,9 @@ run_builtin_policy_test "Hardened OpenSSH Server v8.0 (version 1)" "8.0p1" "test
if [[ $num_failures == 0 ]]; then
echo -e "\n${GREENB}ALL TESTS PASS!${CLR}\n"
rm -rf $TEST_RESULT_DIR
else
echo -e "\n${REDB}${num_failures} TESTS FAILED!${CLR}\n"
fi
rm -rf $TEST_RESULT_DIR
exit 0