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

description="# (141) GF_OPTION_TYPE_PATH should check for presence of ".." in path"
comments="#Should return EINVAL if ".." is found"

source ../../init

start_glusterfs --no-clients

if [ $(grep "invalid path given" $LOGDIR/$(hostname)-server1.log | wc -l) -ne 0 ];then
    ok $description
else
    not_ok $description
    comment $comments
fi

cleanup_glusterfs