On 2021/7/27 上午3:37, Marcos Paulo de Souza wrote:
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 <mpdesouza@xxxxxxxx> --- 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