]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: add workunit to run ceph_test_rbd_mirror 8221/head
authorJosh Durgin <jdurgin@redhat.com>
Sat, 19 Mar 2016 00:23:52 +0000 (17:23 -0700)
committerJosh Durgin <jdurgin@redhat.com>
Sat, 19 Mar 2016 00:23:52 +0000 (17:23 -0700)
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
qa/workunits/rbd/test_rbd_mirror.sh [new file with mode: 0755]

diff --git a/qa/workunits/rbd/test_rbd_mirror.sh b/qa/workunits/rbd/test_rbd_mirror.sh
new file mode 100755 (executable)
index 0000000..725e1d3
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh -e
+
+if [ -n "${VALGRIND}" ]; then
+  valgrind --tool=${VALGRIND} --suppressions=${TESTDIR}/valgrind.supp \
+    ceph_test_rbd_mirror
+else
+  ceph_test_rbd_mirror
+fi
+exit 0