Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the rebot-XXXXXX part? Is XXXXX a placeholder or is that the actual filename?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a placeholder updated with random characters for each call.

#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