Skip to content

Commit 3ba3474

Browse files
authored
HDDS-11755. mktemp --suffix does not work on Mac (#7457)
1 parent 433c7bb commit 3ba3474

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hadoop-ozone/dist/src/main/compose/testlib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ run_rebot() {
398398

399399
shift 2
400400

401-
local tempdir="$(mktemp -d --suffix rebot -p "${output_dir}")"
401+
local tempdir="$(mktemp -d "${output_dir}"/rebot-XXXXXX)"
402402
#Should be writeable from the docker containers where user is different.
403403
chmod a+wx "${tempdir}"
404404
if docker run --rm -v "${input_dir}":/rebot-input -v "${tempdir}":/rebot-output -w /rebot-input \

0 commit comments

Comments
 (0)