[Bugs] [Bug 1305839] New: Wrong interpretation of disk size in gverify.sh script

bugzilla at redhat.com bugzilla at redhat.com
Tue Feb 9 11:32:00 UTC 2016


            Bug ID: 1305839
           Summary: Wrong interpretation of disk size in gverify.sh script
           Product: GlusterFS
           Version: mainline
         Component: geo-replication
          Assignee: bugs at gluster.org
          Reporter: sarumuga at redhat.com
                CC: bugs at gluster.org

Description of problem:

Run gverify script as below:
#/usr/local/libexec/glusterfs/gverify.sh  tv1 root gfvm4 tv2 22 /tmp/test.log 

/usr/local/libexec/glusterfs/gverify.sh: line 206: [: 1-blocks: integer
expression expected

Version-Release number of selected component (if applicable):

How reproducible:
This bug is not easily reproducible, as it is not returning any error.

If the script is executed standalone, then only it can be reproduced.

Steps to Reproduce:
1. Setup geo-replication
2. Run gverify script

Actual results:
Throws error "integer expression expected"

Expected results:
Should not throw any error. 
returns 0 for success, can be verified as echo $? after executing the script.

Additional info:

You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

More information about the Bugs mailing list