summaryrefslogtreecommitdiffstats
path: root/15/regr/testcase
blob: fe37d1895b868061bc15453e00e6097fb24bb2dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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