On Fri, Mar 18, 2016 at 09:08:04AM -0400, Prasanna Kumar Kalever wrote:

gluster volume top $V0 open | grep -w "$F0" >/dev/null 2>&1
TEST [ $? -eq 0 ];

What do we expect here and what do we get?

I note that the test fails either if glustrer volume top fails, 
ot if its output does not contain $F0 (why not use fgrep "$F0" ?)

What happens? Removing  >/dev/null 2>&1 above may be insighful.

-- 
Emmanuel Dreyfus
m...@netbsd.org
_______________________________________________
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel

Reply via email to