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 3ba347484b HDDS-11755. mktemp --suffix does not work on Mac (#7457)
3ba347484b is described below
commit 3ba347484b1e3cad8ee80e17133114ca2a9c2e4b
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Wed Nov 20 13:16:20 2024 +0100
HDDS-11755. mktemp --suffix does not work on Mac (#7457)
---
hadoop-ozone/dist/src/main/compose/testlib.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hadoop-ozone/dist/src/main/compose/testlib.sh
b/hadoop-ozone/dist/src/main/compose/testlib.sh
index 54205001f7..9c4c05cc12 100755
--- a/hadoop-ozone/dist/src/main/compose/testlib.sh
+++ b/hadoop-ozone/dist/src/main/compose/testlib.sh
@@ -398,7 +398,7 @@ run_rebot() {
shift 2
- local tempdir="$(mktemp -d --suffix rebot -p "${output_dir}")"
+ local tempdir="$(mktemp -d "${output_dir}"/rebot-XXXXXX)"
#Should be writeable from the docker containers where user is different.
chmod a+wx "${tempdir}"
if docker run --rm -v "${input_dir}":/rebot-input -v
"${tempdir}":/rebot-output -w /rebot-input \
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]