summaryrefslogtreecommitdiffstats
path: root/tests/bugs/glusterd/bug-1095097.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/glusterd/bug-1095097.t')
-rwxr-xr-xtests/bugs/glusterd/bug-1095097.t21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/bugs/glusterd/bug-1095097.t b/tests/bugs/glusterd/bug-1095097.t
new file mode 100755
index 00000000000..0fe29f06630
--- /dev/null
+++ b/tests/bugs/glusterd/bug-1095097.t
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+. $(dirname $0)/../../include.rc
+
+cleanup;
+TEST glusterd;
+TEST pidof glusterd;
+TEST $CLI volume info;
+
+TEST $CLI volume create $V0 $H0:$B0/brick1 $H0:$B1/brick1;
+EXPECT 'Created' volinfo_field $V0 'Status';
+
+TEST $CLI volume start $V0;
+EXPECT 'Started' volinfo_field $V0 'Status';
+
+TEST $CLI volume profile $V0 start
+TEST $CLI volume profile $V0 info
+TEST $CLI volume replace-brick $V0 $H0:$B0/brick1 $H0:$B0/brick2 start
+TEST $CLI volume replace-brick $V0 $H0:$B0/brick1 $H0:$B0/brick2 status
+
+cleanup;