ceph/qa/workunits/rbd/test_librbd.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
183 B
Bash
Executable File

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