From a3767c4ceb527cb0f52b95650c841964cf7faec9 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Wed, 11 Oct 2017 17:33:20 +0530 Subject: 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 --- tests/features/subdir-mount.t | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') 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 -- cgit