HomeFreeBSD

Fix zfs_clone_010_pos.ksh to verify the space used by multiple copies

Description

Fix zfs_clone_010_pos.ksh to verify the space used by multiple copies

The default blocksize in Linux is 1024 due to a GNU-ism. Setting the
expected blocksize resolves the issue. As mentioned in the PR an
alternate solution would be to set POSIXLY_CORRECT=1.

Reviewed-by: Richard Laager <rlaager@wiktel.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: yuxiang <guo.yong33@zte.com.cn>
Closes #5167

Details

Provenance
liaoyuxiangqin <guo.yong33@zte.com.cn>Authored on Sep 29 2016, 7:46 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Sep 29 2016, 7:46 PM
Parents
rG9ec0403d6acd: Fix coverity defects: CID 147610, 147608, 147607
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGf25bc4938d8b: Fix zfs_clone_010_pos.ksh to verify the space used by multiple copies (authored by liaoyuxiangqin <guo.yong33@zte.com.cn>).Sep 29 2016, 7:46 PM