ceph/qa/workunits/rbd/test_rbd_mirror.sh
Jason Dillaman 9035349037 qa: rbd valgrind tests should use failure exit code
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-06-02 08:55:08 -04:00

10 lines
191 B
Bash
Executable File

#!/bin/sh -e
if [ -n "${VALGRIND}" ]; then
valgrind ${VALGRIND} --suppressions=${TESTDIR}/valgrind.supp \
--error-exitcode=1 ceph_test_rbd_mirror
else
ceph_test_rbd_mirror
fi
exit 0