Skip to content
Open
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
15 changes: 11 additions & 4 deletions run_smoke_resmoke_funcs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,18 @@ run_system_validations() {

# check for needed mongo binaries

for binary in bsondump mongo mongod mongodump mongoexport mongofiles mongoimport mongooplog mongorestore mongos mongostat; do
for binary in mongo mongod mongos; do
if [ ! -x "./${binary}" ]; then
echo "Could not find ./${binary}; make sure you are running this from the root build directory,"
echo "that the MongoDB binaries have been built and the mongo-tools binaries have been copied"
echo "to the build root."
echo "Could not find '${binary}'; make sure you are running this from the root build directory,"
echo "and that the MongoDB binaries have been built."
exit 1;
fi
done

for binary in bsondump mongodump mongoexport mongofiles mongoimport mongooplog mongorestore mongostat; do
if [ ! -x "./${binary}" ] && ! type -p ${binary} &> /dev/null ; then
echo "Could not find '${binary}'; make sure the mongo-tools binaries have been built"
echo "and can be found either in the working directory or in the \$PATH."
exit 1;
fi
done
Expand Down