summaryrefslogtreecommitdiffstats
path: root/dvm/2287/testcase
diff options
context:
space:
mode:
Diffstat (limited to 'dvm/2287/testcase')
-rwxr-xr-xdvm/2287/testcase26
1 files changed, 26 insertions, 0 deletions
diff --git a/dvm/2287/testcase b/dvm/2287/testcase
new file mode 100755
index 0000000..065d99b
--- /dev/null
+++ b/dvm/2287/testcase
@@ -0,0 +1,26 @@
+#!/bin/bash
+
+function _init ()
+{
+ source $cwd/regression_helpers
+}
+
+function absent_volinfo ()
+{
+ $GLUSTERFSDIR/gluster volume info new_volume 2>/dev/null 1>/dev/null;
+ ret=$?;
+ return $ret;
+}
+
+function main ()
+{
+ absent_volinfo;
+ op_ret=$?;
+ if [ $op_ret -ne 0 ]; then
+ exit 0;
+ else
+ exit 1;
+ fi
+}
+
+_init && main "$@"