summaryrefslogtreecommitdiffstats
path: root/tests/bugs/glusterfs/bug-860297.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/glusterfs/bug-860297.t')
-rw-r--r--tests/bugs/glusterfs/bug-860297.t13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/bugs/glusterfs/bug-860297.t b/tests/bugs/glusterfs/bug-860297.t
new file mode 100644
index 00000000000..c2d21553f68
--- /dev/null
+++ b/tests/bugs/glusterfs/bug-860297.t
@@ -0,0 +1,13 @@
+#!/bin/bash
+. $(dirname $0)/../../include.rc
+cleanup;
+
+TEST glusterd
+TEST pidof glusterd
+TEST $CLI volume info
+TEST $CLI volume create $V0 $H0:$B0/brick1
+setfattr -x trusted.glusterfs.volume-id $B0/brick1
+## If Extended attribute trusted.glusterfs.volume-id is not present
+## then volume should not be able to start
+TEST ! $CLI volume start $V0;
+cleanup;