Skip to content

Commit

Permalink
HDDS-11755. mktemp --suffix does not work on Mac (#7457)
Browse files Browse the repository at this point in the history
  • Loading branch information
adoroszlai authored Nov 20, 2024
1 parent 433c7bb commit 3ba3474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hadoop-ozone/dist/src/main/compose/testlib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 3ba3474

Please sign in to comment.