summaryrefslogtreecommitdiffstats
path: root/tests/features/subdir-mount.t
diff options
context:
space:
mode:
authorAmar Tumballi <amarts@redhat.com>2017-10-11 17:33:20 +0530
committerAmar Tumballi <amarts@redhat.com>2017-10-12 10:36:26 +0000
commita3767c4ceb527cb0f52b95650c841964cf7faec9 (patch)
tree518be95c0d473f4d4791bd88978e76510d0cfef1 /tests/features/subdir-mount.t
parent9422446d72bc054962d72ace9912ecb885946d49 (diff)
protocol-auth: use the proper validation method
Currently, server protocol's init and glusterd's option validation methods are different, causing an issue. They should be same for having consistent behavior Updates #175 Change-Id: Ibbf9a18c7192b2d77f9b7675ae7da9b8d2fe5de4 Signed-off-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'tests/features/subdir-mount.t')
-rw-r--r--tests/features/subdir-mount.t4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/features/subdir-mount.t b/tests/features/subdir-mount.t
index 2fb0be48bd3..ab7ef35815b 100644
--- a/tests/features/subdir-mount.t
+++ b/tests/features/subdir-mount.t
@@ -78,6 +78,10 @@ TEST ! $CLI volume set $V0 auth.allow "subdir2\(1.2.3.4\)"
# support subdir inside subdir
TEST $CLI volume set $V0 auth.allow '/subdir1/subdir1.1/subdir1.2/\(1.2.3.4\|::1\),/\(192.168.10.1\|192.168.11.1\),/subdir2\(1.2.3.4\)'
+TEST $CLI volume stop $V0
+
+TEST $CLI volume start $V0
+
# /subdir2 has not allowed IP
TEST $GFS --subdir-mount /subdir2 -s $H0 --volfile-id $V0 $M1
TEST stat $M1