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


source ./init
source ./regression_helpers

GLUSTERD_DIR=$(dirname $GLUSTERD);
mkdir $EXPORT_DIR/$global_bug_id/;

$GLUSTERD_DIR/gluster volume create vol transport tcp,rdma $(hostname):$EXPORT_DIR/$global_bug_id/export1 2>/dev/null 1>/dev/null

if [ $? -ne 0 ]; then
    echo -n "$global_bug_id: "
    not_ok;
else
    echo -n "$global_bug_id: "
    ok;
fi

test_kill;

test_cleanup;