diff options
Diffstat (limited to 'qa/workunits/rbd/test_librbd.sh')
-rwxr-xr-x | qa/workunits/rbd/test_librbd.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/qa/workunits/rbd/test_librbd.sh b/qa/workunits/rbd/test_librbd.sh new file mode 100755 index 000000000..447306bb4 --- /dev/null +++ b/qa/workunits/rbd/test_librbd.sh @@ -0,0 +1,9 @@ +#!/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 |