diff --git a/ut_false_positive.sh b/tests/false_positive.sh similarity index 100% rename from ut_false_positive.sh rename to tests/false_positive.sh diff --git a/unitests.sh b/unitests.sh index 5b5da33..850f496 100644 --- a/unitests.sh +++ b/unitests.sh @@ -284,7 +284,6 @@ DEFAULT_DIR="./tests/defaults/" echo "" print_results "all" $TOTAL_SUCCESS $TOTAL_TEST fi - delete_files # ask to show the diff # -rsn1 will stop read after first key pressed @@ -293,3 +292,6 @@ DEFAULT_DIR="./tests/defaults/" then diff -y --width=100 --color=always "$BASH_LOG" "$MINISHELL_LOG" fi + +# delete files created during tests + delete_files