Bug #59672 Invalid sleep options passes for meb 3.6 version
Submitted: 22 Jan 2011 3:02 Modified: 22 Jan 2011 20:34
Reporter: Hema Sridharan Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Backup Severity:S3 (Non-critical)
Version:MEB 3.6 OS:Any
Assigned to: Thava Alagu CPU Architecture:Any

[22 Jan 2011 3:02] Hema Sridharan
Description:
Use invalid values for --sleep option in meb-3.6 version
Invalid values can be decimal, fractions, negative numbers or some characters

Pull the latest version of meb from the patch below and follow the compilation instructions from the README file.
bzr+ssh://bk-internal.mysql.com/bzrroot/meb/sbin-repo/single-bin/ 

How to repeat:
Execute the follwoing command

--exec $MYSQLBACKUP  --sleep=2/5 --port=$MASTER_MYPORT  --protocol=tcp --user=root --backup-dir=$BACKUP_TARGET_DIR  backup > $BACKUP_LOG 2>&1

Repeat the above command by issuing the following values for sleep
--sleep=2.55
--sleep=invalid
--sleep=-100

Suggested fix:
Ideally the test should fail for invalid sleep options
[22 Jan 2011 20:34] Thava Alagu
Thanks for the bug report.
The bug found in the prototype version. Closing the bug after fixing it.