Message ID | 20210726193738.14992-1-mpdesouza@suse.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | btrfs/177: Adjust resize output message | expand |
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@suse.com> > --- > 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 >
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
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@suse.com> --- tests/btrfs/177.out | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)