summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKaushal M <kaushal@redhat.com>2012-11-20 15:17:06 +0530
committerVijay Bellur <vbellur@redhat.com>2012-11-23 02:08:16 -0800
commitd5999c107a89dda38e8107ab8660130e052418b6 (patch)
tree727ff381d54e9d931400d15b316a4a962301a070 /tests
parent14693665710677dfc809af2db199be3ecadacb18 (diff)
cli: XML output for "geo-replication <VOL> {start|stop}"
Change-Id: I8d2213cc00deb458fb765b848d0e3452574cc98f BUG: 864499 Signed-off-by: Kaushal M <kaushal@redhat.com> Reviewed-on: http://review.gluster.org/4217 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/bugs/bug-864499.t20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/bugs/bug-864499.t b/tests/bugs/bug-864499.t
new file mode 100644
index 00000000000..03c7bbe136f
--- /dev/null
+++ b/tests/bugs/bug-864499.t
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+. $(dirname $0)/../include.rc
+
+cleanup;
+
+
+TEST glusterd
+TEST pidof glusterd
+TEST $CLI volume create $V0 $H0:$B0/brick0
+TEST $CLI volume start $V0
+
+TEST "$CLI volume geo-replication $V0 $B0/slave start --xml | xmllint --format -"
+
+TEST "$CLI volume geo-replication $V0 $B0/slave stop --xml | xmllint --format -"
+
+TEST $CLI volume stop $V0
+
+cleanup;
+