ceph/qa/workunits/rbd/test_librbd.sh
Jason Dillaman 30b762bc13 qa/workunits/rbd: add support for running API tests under valgrind
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-04-30 10:56:54 -04:00

10 lines
171 B
Bash
Executable File

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