summaryrefslogtreecommitdiffstats
path: root/15/regr/testcase
diff options
context:
space:
mode:
Diffstat (limited to '15/regr/testcase')
-rwxr-xr-x15/regr/testcase20
1 files changed, 20 insertions, 0 deletions
diff --git a/15/regr/testcase b/15/regr/testcase
new file mode 100755
index 0000000..fe37d18
--- /dev/null
+++ b/15/regr/testcase
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+description="# [ glusterfs 2.0.2 ] - Unclear log message with missing mount point (during client invocation)"
+comments="# dangling volume is printed in the log"
+
+source ../../init
+
+start_glusterfs --no-clients
+
+$($GLUSTERFS --run-id regr.c.$BUGID -f $SPECDIR/client1.vol -l $LOGDIR/$(hostname)-client1.log)
+
+if [ $(grep "Volume is dangling" $LOGDIR/$(hostname)-client1.log | wc -l) -ne 0 ]
+then
+ not_ok $description
+ comment $comments
+else
+ ok $description
+fi
+
+cleanup_glusterfs \ No newline at end of file