From a3c12fdabea5ee77ab95bc65962e56083b7d0fa6 Mon Sep 17 00:00:00 2001 From: ggarg Date: Fri, 28 Mar 2014 12:23:17 +0530 Subject: cli: Error out when character "." is available in volume name previously it was failed without showing any information why it is failed. Now with this fix, when "." or any non alphanumeric character present in volume name, it will give error messages Change-Id: I17e8e69c08345c4d760f3ba333fe841e754bc9c8 BUG: 921215 Signed-off-by: ggarg Reviewed-on: http://review.gluster.org/7364 Reviewed-by: Humble Devassy Chirammal Reviewed-by: Atin Mukherjee Reviewed-by: Vijay Bellur Tested-by: Gluster Build System --- tests/bugs/bug-921215.t | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 tests/bugs/bug-921215.t (limited to 'tests/bugs') diff --git a/tests/bugs/bug-921215.t b/tests/bugs/bug-921215.t new file mode 100755 index 00000000000..344b568591c --- /dev/null +++ b/tests/bugs/bug-921215.t @@ -0,0 +1,13 @@ +#!/bin/bash + +# This is test case for bug no 921215 "Can not create volume with a . in the name" + +. $(dirname $0)/../include.rc + +cleanup; + +TEST glusterd +TEST pidof glusterd +TEST ! $CLI volume create $V0.temp replica 2 $H0:$B0/${V0}0 $H0:$B0/${V0}1 + +cleanup; -- cgit