vstart_wrapped_tests must return on error if one of the tests
fail.
Signed-off-by: Loic Dachary <loic@dachary.org>
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Library Public License for more details.
#
+code=0
echo "Run unit tests that need a cluster, using vstart.sh"
while read line ; do
echo "================ START ================"
echo "$line"
echo "======================================="
- test/vstart_wrapper.sh $line
+ if ! test/vstart_wrapper.sh $line ; then
+ code=1
+ fi
echo "================ STOP ================="
done <<EOF
../qa/workunits/cephtool/test.sh
EOF
+exit $code