summaryrefslogtreecommitdiffstats
path: root/qa/workunits/rbd/test_rbd_mirror.sh
diff options
context:
space:
mode:
Diffstat (limited to 'qa/workunits/rbd/test_rbd_mirror.sh')
-rwxr-xr-xqa/workunits/rbd/test_rbd_mirror.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/qa/workunits/rbd/test_rbd_mirror.sh b/qa/workunits/rbd/test_rbd_mirror.sh
new file mode 100755
index 000000000..e139dd7e4
--- /dev/null
+++ b/qa/workunits/rbd/test_rbd_mirror.sh
@@ -0,0 +1,9 @@
+#!/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