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

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

cleanup;

function tmp_file_count()
{
    echo $(ls -lh /tmp/tmp.* 2>/dev/null |  wc -l)
}


old_count=$(tmp_file_count);
TEST glusterd
TEST pidof glusterd
TEST $CLI volume create $V0 replica 2 $H0:$B0/${V0}0 $H0:$B0/${V0}1
TEST $CLI volume start $V0
new_count=$(tmp_file_count);

TEST [ "$old_count" -eq "$new_count" ]

cleanup