[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 2/2] iotests: Test that negative and large th
From: |
Alberto Garcia |
Subject: |
Re: [Qemu-devel] [PATCH v4 2/2] iotests: Test that negative and large throttle values are rejected |
Date: |
Tue, 19 Jan 2016 16:12:19 +0100 |
User-agent: |
Notmuch/0.13.2 (http://notmuchmail.org) Emacs/23.2.1 (i486-pc-linux-gnu) |
On Fri 15 Jan 2016 03:09:23 AM CET, Fam Zheng wrote:
> echo
> +echo === Catching negative/large throttling values ===
> +echo
> +
> +run_qemu -drive file="$TEST_IMG",iops=-1
> +run_qemu -drive file="$TEST_IMG",bps=-2
> +run_qemu -drive file="$TEST_IMG",bps_rd=-3
> +run_qemu -drive file="$TEST_IMG",bps_rd_max=-3
> +run_qemu -drive file="$TEST_IMG",throttling.iops-total=-4
> +run_qemu -drive file="$TEST_IMG",throttling.bps-total=-5
> +run_qemu -drive file="$TEST_IMG",bps=1000000000000001
Now that you're at it, you could also check that 0 and 1000000000000000
_do_ work.
Either way,
Reviewed-by: Alberto Garcia <address@hidden>
Berto