summaryrefslogtreecommitdiffstats
path: root/tests/features/ipc.t
blob: 2aaca6620bf6f08c6737f562386737476a476223 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

. $(dirname $0)/../include.rc

cleanup;
mkdir -p $B0/1
mkdir -p $M0

TEST glusterd
TEST pidof glusterd
TEST $CLI volume info;

TEST $CLI volume create $V0 $H0:$B0/1
TEST $CLI volume start $V0

# This is a pretty lame test.  Basically we just want to make sure that we
# get all the way through the translator stacks on client and server to get a
# simple error (95 = EOPNOTUPP) instead of a crash, RPC error, etc.
EXPECT 95 $PYTHON $(dirname $0)/ipctest.py $H0 $V0

cleanup;