diff --git a/hadoop-ozone/dist/src/main/smoketest/testlib.sh b/hadoop-ozone/dist/src/main/smoketest/testlib.sh index db4d9409e8cf..1e5f76df8db2 100644 --- a/hadoop-ozone/dist/src/main/smoketest/testlib.sh +++ b/hadoop-ozone/dist/src/main/smoketest/testlib.sh @@ -30,8 +30,9 @@ run_rebot() { #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 \ + --entrypoint bash \ $(get_runner_image_spec) \ - bash -c "rebot --nostatusrc -d /rebot-output $@"; then + -c "rebot --nostatusrc -d /rebot-output $@"; then mv -v "${tempdir}"/* "${output_dir}"/ fi rmdir "${tempdir}"