]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/rbd: add notify_master/slave bootstrap scripts
authorJason Dillaman <dillaman@redhat.com>
Tue, 5 May 2015 15:22:55 +0000 (11:22 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 22 Jun 2015 15:17:56 +0000 (11:17 -0400)
Backport: hammer
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 124b1d3d2d0dbd685bbd717856d29b316e62e660)

qa/workunits/rbd/notify_master.sh [new file with mode: 0755]
qa/workunits/rbd/notify_slave.sh [new file with mode: 0755]

diff --git a/qa/workunits/rbd/notify_master.sh b/qa/workunits/rbd/notify_master.sh
new file mode 100755 (executable)
index 0000000..3d1b224
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh -ex
+
+CEPH_REF=${CEPH_REF:-master}
+wget -O test_notify.py "https://git.ceph.com/?p=ceph.git;a=blob_plain;hb=$CEPH_REF;f=src/test/librbd/test_notify.py"
+
+python test_notify.py master
+exit 0
diff --git a/qa/workunits/rbd/notify_slave.sh b/qa/workunits/rbd/notify_slave.sh
new file mode 100755 (executable)
index 0000000..e94894a
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh -ex
+
+CEPH_REF=${CEPH_REF:-master}
+wget -O test_notify.py "https://git.ceph.com/?p=ceph.git;a=blob_plain;hb=$CEPH_REF;f=src/test/librbd/test_notify.py"
+
+python test_notify.py slave
+exit 0