summaryrefslogtreecommitdiffstats
path: root/dvm/2154/testcase
blob: 50b58c01eb3aa0bd60b430db7c874ef4d3568a0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

source ./regression_helpers

$GLUSTERFSDIR/gluster volume create $global_bug_id $(hostname):$EXPORT_DIR/$global_bug_id/export1 2>/dev/null 1>/dev/null

TOP_DIR=$(dirname $GLUSTERFSDIR);

ls -l /etc/glusterd/.cmd_log_history 2>/dev/null 1>/dev/null;
if [ $? -eq 0 ]; then
   ret=22;
else
        ls -l $TOP_DIR/var/log/glusterfs/.cmd_log_history 2>/dev/null 1>/dev/null;
        if [ $? -eq 0 ]; then
           ret=0;
        else
           ret=22;
        fi
fi

exit $ret;