summaryrefslogtreecommitdiffstats
path: root/tests/expected/blkdiscard
diff options
context:
space:
mode:
authorFederico Simoncelli2014-10-24 17:13:55 +0200
committerKarel Zak2014-10-27 09:16:49 +0100
commitc472a7e35ae40652bdcf66c08a23bd50d48d1884 (patch)
tree8056c42170b27277b4f78afb3388e1acd4f083c3 /tests/expected/blkdiscard
parentblkdiscard: fail on sector misalignment (diff)
downloadkernel-qcow2-util-linux-c472a7e35ae40652bdcf66c08a23bd50d48d1884.tar.gz
kernel-qcow2-util-linux-c472a7e35ae40652bdcf66c08a23bd50d48d1884.tar.xz
kernel-qcow2-util-linux-c472a7e35ae40652bdcf66c08a23bd50d48d1884.zip
blkdiscard: add support for steps and progress
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
Diffstat (limited to 'tests/expected/blkdiscard')
-rw-r--r--tests/expected/blkdiscard/offsets23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/expected/blkdiscard/offsets b/tests/expected/blkdiscard/offsets
index 88078785d..2596fc602 100644
--- a/tests/expected/blkdiscard/offsets
+++ b/tests/expected/blkdiscard/offsets
@@ -13,4 +13,27 @@ blkdiscard: offset 1 is not aligned to sector size 512
blkdiscard: offset 511 is not aligned to sector size 512
Discarded 5242880 bytes from the offset 512
Discarded 5242880 bytes from the offset 1024
+testing aligned steps full device
+Discarded 10485760 bytes from the offset 0
+Discarded 10485760 bytes from the offset 0
+testing aligned steps with offsets and length
+Discarded 1024 bytes from the offset 0
+blkdiscard: offset 1 is not aligned to sector size 512
+blkdiscard: offset 1 is not aligned to sector size 512
+blkdiscard: offset 511 is not aligned to sector size 512
+Discarded 1536 bytes from the offset 512
+Discarded 1024 bytes from the offset 1024
+testing misaligned steps full device
+blkdiscard: length 1 is not aligned to sector size 512
+blkdiscard: length 256 is not aligned to sector size 512
+blkdiscard: length 511 is not aligned to sector size 512
+blkdiscard: length 513 is not aligned to sector size 512
+blkdiscard: length 768 is not aligned to sector size 512
+testing misaligned steps with offsets and length
+blkdiscard: length 511 is not aligned to sector size 512
+blkdiscard: offset 1 is not aligned to sector size 512
+blkdiscard: offset 511 is not aligned to sector size 512
+blkdiscard: length 511 is not aligned to sector size 512
+blkdiscard: offset 1 is not aligned to sector size 512
+blkdiscard: offset 511 is not aligned to sector size 512
detach loop device from image