summaryrefslogtreecommitdiffstats
path: root/117/regr/testcase
blob: 8747633c140d43d534b1421f10ae084a637e41cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

description="# (117) Wrong command line does not throw error"
comments="# Whenever glusterfs is not started, exit status should not be 0" 

source ../../init

start_glusterfs --no-clients

$GLUSTERFS -f $SPECDIR/client1.vol $LOGDIR/$(hostname)-client1.log $MOUNTDIR/client1 2> /dev/null

if [ $? -ne 0 ];then
    not_ok $description
    comment $comments
else
    ok $description
fi

cleanup_glusterfs