Thread (2 messages) 2 messages, 2 authors, 2021-07-26

Re: [PATCH] btrfs/177: Adjust resize output message

From: Qu Wenruo <hidden>
Date: 2021-07-26 23:06:11
Also in: fstests


On 2021/7/27 上午3:37, Marcos Paulo de Souza wrote:
quoted hunk ↗ jump to hunk
Commit 78aa1d95dd99 ("btrfs-progs: fi resize: make output more
readable") added the device id of the resized fs along with a pretty
printed size. Adjust the expected output of the test.

Signed-off-by: Marcos Paulo de Souza <redacted>
---
  tests/btrfs/177.out | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/btrfs/177.out b/tests/btrfs/177.out
index 63aca0e5..b1cc5db0 100644
--- a/tests/btrfs/177.out
+++ b/tests/btrfs/177.out
@@ -1,4 +1,4 @@
  QA output created by 177
-Resize 'SCRATCH_MNT' of '3221225472'
+Resize device id 1 (SCRATCH_DEV) from 1.00GiB to 3.00GiB
  Text file busy
-Resize 'SCRATCH_MNT' of '1073741824'
+Resize device id 1 (SCRATCH_DEV) from 3.00GiB to 1.00GiB
This will make older btrfs-progs fail the test.

IMHO the proper way is to introduce a filter to handle both output format.

Thanks,
Qu
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help