mirror of
https://github.com/ceph/ceph
synced 2025-03-25 11:48:05 +00:00
run-make-check.sh: run sudo with absolute path
there is chance that `/sbin` is not listed in `secure_path`, see sudoers(5) for more details Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
0dd2d0fd7e
commit
11f9aae4ca
@ -150,7 +150,7 @@ EOM
|
||||
|
||||
# increase the aio-max-nr, which is by default 65536. we could reach this
|
||||
# limit while running seastar tests and bluestore tests.
|
||||
$DRY_RUN sudo sysctl -q -w fs.aio-max-nr=$((65536 * 16))
|
||||
$DRY_RUN sudo /sbin/sysctl -q -w fs.aio-max-nr=$((65536 * 16))
|
||||
|
||||
if ! $DRY_RUN ctest $CHECK_MAKEOPTS --output-on-failure; then
|
||||
rm -fr ${TMPDIR:-/tmp}/ceph-asok.*
|
||||
|
Loading…
Reference in New Issue
Block a user