diff --git a/clr_test/clearing-all/launch_and_test.sh b/clr_test/clearing-all/launch_and_test.sh index 55e344eb0..3fbac463a 100644 --- a/clr_test/clearing-all/launch_and_test.sh +++ b/clr_test/clearing-all/launch_and_test.sh @@ -19,7 +19,11 @@ sh ./clearing_testing_utils/clearing-tester/clearing-tester.sh if [ -n "$CLR_TEST_NAME" ] && [ -d "./bin/log" ]; then echo "Copying logs to ./bin/log/${CLR_TEST_NAME}" mkdir -p "./bin/log/${CLR_TEST_NAME}" - rsync -av --exclude="${CLR_TEST_NAME}" "./bin/log/" "./bin/log/${CLR_TEST_NAME}/" + # Copy all contents from ./bin/log to tmp dir + mkdir -p "./bin/log_artifact" + cp -a ./bin/log/. "./bin/log_artifact/" + # Move the copied logs into the desired location + mv "./bin/log_artifact" "./bin/log/${CLR_TEST_NAME}" else echo "CLR_TEST_NAME is not set or ./bin/log does not exist. Skipping log copy." fi