diff --git a/src/test/ceph-disk.sh b/src/test/ceph-disk.sh index 3e95bf911a5..91e99ec4c9c 100755 --- a/src/test/ceph-disk.sh +++ b/src/test/ceph-disk.sh @@ -83,7 +83,7 @@ function kill_daemons() { function command_fixture() { local command=$1 - [ $(which $command) = ./$command ] || return 1 + [ $(which $command) = ./$command ] || [ $(which $command) = $(pwd)/$command ] || return 1 cat > $DIR/$command <