This is an automated email from the ASF dual-hosted git repository.

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new 345c46850f HDDS-11995. Acceptance Test test-all script fails to delete 
old result directories. (#7622)
345c46850f is described below

commit 345c46850f2f145d4f735214d32390e422544894
Author: Nandakumar Vadivelu <[email protected]>
AuthorDate: Sun Dec 29 14:19:31 2024 +0530

    HDDS-11995. Acceptance Test test-all script fails to delete old result 
directories. (#7622)
---
 hadoop-ozone/dist/src/main/compose/test-all.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hadoop-ozone/dist/src/main/compose/test-all.sh 
b/hadoop-ozone/dist/src/main/compose/test-all.sh
index 863e1d0b75..adc6853d43 100755
--- a/hadoop-ozone/dist/src/main/compose/test-all.sh
+++ b/hadoop-ozone/dist/src/main/compose/test-all.sh
@@ -22,8 +22,8 @@
 SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )
 ALL_RESULT_DIR="$SCRIPT_DIR/result"
 PROJECT_DIR="$SCRIPT_DIR/.."
-mkdir -p "$ALL_RESULT_DIR"
-rm "$ALL_RESULT_DIR"/* || true
+rm -rf "${ALL_RESULT_DIR}"
+mkdir -p "${ALL_RESULT_DIR}"
 
 source "$SCRIPT_DIR"/testlib.sh
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to