diff --git a/tests/compatible/disk/common.py b/tests/compatible/disk/common.py index b7127a7595754f98475770f5e62cc0d87ff82d18..690893febaa9d0e5daafc66184c8ce8a00473343 100644 --- a/tests/compatible/disk/common.py +++ b/tests/compatible/disk/common.py @@ -146,7 +146,7 @@ def vfs_test(logger, command, disk, filesystems): if not os.path.exists(proc_path): proc_path = os.path.join("/sys/block/*/", disk) size = getoutput("cat %s/size" % proc_path) - size = int(size) / 2 / 2 + size = int(size) / 2 if size <= 0: logger.error( "Device %s size is not suitable for testing." % device)