diff --git a/SubSystems/Online_Cobalt/test/runtest.sh.in b/SubSystems/Online_Cobalt/test/runtest.sh.in index 3050c1ada71c63030ba2d3533e57fe39702ca7ca..7287a02c518f6e31e7c3fef807e74286d2912742 100755 --- a/SubSystems/Online_Cobalt/test/runtest.sh.in +++ b/SubSystems/Online_Cobalt/test/runtest.sh.in @@ -65,11 +65,16 @@ echo " in directory $(pwd)" mkdir "queues" || error "Failed to create temporary directory ${OUTDIR}/queues" echo "[ -d ${PWD}/queues ] && cp -r ${PWD}/queues ${REFDIR}" >> accept_output QUEUES=`cd ${REFDIR}/queues 2>/dev/null && ls` + INCORRECT_QUEUES="" for Q in $QUEUES; do echo "Comparing output of queue $Q" @QPID_RECEIVE_EXECUTABLE@ -b 127.0.0.1 -a $Q --ignore-reply-to > queues/$Q || error "Could not read output of queue $Q" - diff ${REFDIR}/queues/$Q queues/$Q || error "Output of queue $Q does not match" + diff ${REFDIR}/queues/$Q queues/$Q || INCORRECT_QUEUES+="$Q " done + + if [ "$INCORRECT_QUEUES" != "" ]; then + error "Output of queue(s) $INCORRECT_QUEUES do(es) not match" + fi fi ) || exit 1