From d5999c107a89dda38e8107ab8660130e052418b6 Mon Sep 17 00:00:00 2001 From: Kaushal M Date: Tue, 20 Nov 2012 15:17:06 +0530 Subject: cli: XML output for "geo-replication {start|stop}" Change-Id: I8d2213cc00deb458fb765b848d0e3452574cc98f BUG: 864499 Signed-off-by: Kaushal M Reviewed-on: http://review.gluster.org/4217 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- tests/bugs/bug-864499.t | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/bugs/bug-864499.t (limited to 'tests') diff --git a/tests/bugs/bug-864499.t b/tests/bugs/bug-864499.t new file mode 100644 index 000000000..03c7bbe13 --- /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; + -- cgit