Change-Id: Ib78963c1f43a66dab50b443742979c7c4e4cbc23 BUG: 958790 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-on: http://review.gluster.org/4940 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Amar Tumballi <amarts@redhat.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
22 lines
493 B
Bash
22 lines
493 B
Bash
#!/bin/bash
|
|
|
|
. $(dirname $0)/../include.rc
|
|
. $(dirname $0)/../volume.rc
|
|
|
|
cleanup;
|
|
|
|
TEST glusterd;
|
|
TEST pidof glusterd;
|
|
TEST $CLI volume info;
|
|
|
|
touch /var/lib/glusterd/groups/test
|
|
echo "read-ahead=off" > /var/lib/glusterd/groups/test
|
|
echo "open-behind=off" >> /var/lib/glusterd/groups/test
|
|
|
|
TEST $CLI volume create $V0 $H0:$B0/${V0}{1,2};
|
|
TEST $CLI volume set $V0 group test
|
|
EXPECT "off" volume_option $V0 performance.read-ahead
|
|
EXPECT "off" volume_option $V0 performance.open-behind
|
|
|
|
cleanup;
|