From f845b342a2668b7b9a958b639ba58b9e3a4be971 Mon Sep 17 00:00:00 2001 From: hugogogo Date: Mon, 13 Dec 2021 23:06:50 +0100 Subject: [PATCH] merge with lucky --- ut_false_positive.sh => tests/false_positive.sh | 0 unitests.sh | 4 +++- 2 files changed, 3 insertions(+), 1 deletion(-) rename ut_false_positive.sh => tests/false_positive.sh (100%) 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