diff --git a/tools/setup-test-env-amqp1.sh b/tools/setup-test-env-amqp1.sh index b1583d80f..913d5ea25 100755 --- a/tools/setup-test-env-amqp1.sh +++ b/tools/setup-test-env-amqp1.sh @@ -22,6 +22,13 @@ function _setup_qpidd_user { } function _configure_qdrouterd { + + QDR=$(type -p qdrouterd) + if [[ ! -x "$QDR" ]]; then + echo "FAILURE: Qpid Dispatch Router (qdrouterd) not installed" + exit 1 + fi + # create a stand alone router cat > ${DATADIR}/qdrouterd.conf <> ${DATADIR}/qdrouterd.conf <