summaryrefslogtreecommitdiffstats
path: root/tests/bugs/glusterfs-server/bug-889996.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/glusterfs-server/bug-889996.t')
-rw-r--r--tests/bugs/glusterfs-server/bug-889996.t19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/bugs/glusterfs-server/bug-889996.t b/tests/bugs/glusterfs-server/bug-889996.t
new file mode 100644
index 00000000000..d7d25c42933
--- /dev/null
+++ b/tests/bugs/glusterfs-server/bug-889996.t
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+. $(dirname $0)/../../include.rc
+. $(dirname $0)/../../volume.rc
+
+cleanup;
+
+TEST glusterd
+TEST pidof glusterd
+TEST $CLI volume info;
+
+TEST $CLI volume create $V0 $H0:$B0/${V0}{1,2};
+
+rm -rf $B0/${V0}1;
+
+TEST ! $CLI volume start $V0;
+EXPECT 0 online_brick_count;
+
+cleanup;