in
ceph-build/ceph-perf-pull-requests/config/definitions/ceph-perf-pull-requests.yml,
we pass "vstart-base crimson-osd" as the targets argument, but the
build() function in ceph/src/script/run-make.sh fails to quote them, so
they are expanded into two argument of `test -n`. hence it breaks like
src/script/run-make.sh: line 124: test: vstart-base: binary operator expected
make will run with option(s) -j40
Unknown argument vstart-base
Unknown argument crimson-osd
Signed-off-by: Kefu Chai <kchai@redhat.com>
function build() {
local targets="$@"
- if test -n $targets; then
+ if test -n "$targets"; then
targets="--target $targets"
fi
$DRY_RUN cd build