blob: e2ec6f4d2535c2e78a41c46f3f3192ab5f9fadf1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#!/bin/bash
. $(dirname $0)/../../include.rc
. $(dirname $0)/../../volume.rc
cleanup
TEST glusterd
TEST pidof glusterd
TEST $CLI volume create $V0 replica 2 $H0:$B0/${V0}{1,2}
TEST $CLI volume start $V0
TEST $CLI volume set $V0 features.trash on
TEST $CLI volume set $V0 features.trash-internal-op on
TEST [ -e $B0/${V0}1/.trashcan ]
TEST [ -e $B0/${V0}1/.trashcan/internal_op ]
TEST $CLI volume stop $V0
rm -rf $B0/${V0}1/.trashcan/internal_op
TEST [ ! -e $B0/${V0}1/.trashcan/internal_op ]
TEST $CLI volume start $V0 force
TEST [ -e $B0/${V0}1/.trashcan/internal_op ]
cleanup
#G_TESTDEF_TEST_STATUS_CENTOS6=BAD_TEST,BUG=1385758
#G_TESTDEF_TEST_STATUS_NETBSD7=BAD_TEST,BUG=1385758
|