From: Filipe Manana Date: Wed, 23 Sep 2015 02:52:34 +0000 (+1000) Subject: btrfs: Fix _filter_uuid golden output for device replace tests X-Git-Tag: v2022.05.01~2784 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=f0c4b462d20c2248a0a6b7a5f33ed5d5fd85fac4;p=users%2Fhch%2Fxfstests-dev.git btrfs: Fix _filter_uuid golden output for device replace tests As a workaround for a regression in the uuid filter introduced by a092363bbdfa ("xfs: test changing UUID on V5 superblock"), the btrfs 100 and 101 tests included an extra white space before the uuid in their golden output files. However commit 48613832ad11 ("_filter_uuid: Fix output regression for btrfs/006"), which came later, fixed the regression in the uuid filter therefore making btrfs/100 and btrfs/101 fail due to the extra space in their expected golden output files. So just remove the extra white spaces from the golden output files. $ ./check btrfs/100 FSTYP -- btrfs PLATFORM -- Linux/x86_64 debian3 4.2.0-rc5-btrfs-next-13+ MKFS_OPTIONS -- /dev/sdc MOUNT_OPTIONS -- /dev/sdc /home/fdmanana/btrfs-tests/scratch_1 btrfs/100 4s ... - output mismatch (see .../results//btrfs/100.out.bad) --- tests/btrfs/100.out 2015-09-22 02:56:35.031470334 +0100 +++ /home/fdmanana/git/hub/xfstests/results//btrfs/100.out.bad... @@ -1,10 +1,10 @@ QA output created by 100 -Label: none uuid: +Label: none uuid: Total devices FS bytes used devid size used path SCRATCH_DEV devid size used path /dev/mapper/error-test (...) Failures: btrfs/100 Failed 1 of 1 tests Signed-off-by: Filipe Manana Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- diff --git a/tests/btrfs/100.out b/tests/btrfs/100.out index 2eeefa4ea..aa4929197 100644 --- a/tests/btrfs/100.out +++ b/tests/btrfs/100.out @@ -1,10 +1,10 @@ QA output created by 100 -Label: none uuid: +Label: none uuid: Total devices FS bytes used devid size used path SCRATCH_DEV devid size used path /dev/mapper/error-test -Label: none uuid: +Label: none uuid: Total devices FS bytes used devid size used path SCRATCH_DEV diff --git a/tests/btrfs/101.out b/tests/btrfs/101.out index 4621902af..e1b88c2db 100644 --- a/tests/btrfs/101.out +++ b/tests/btrfs/101.out @@ -1,10 +1,10 @@ QA output created by 101 -Label: none uuid: +Label: none uuid: Total devices FS bytes used devid size used path SCRATCH_DEV devid size used path /dev/mapper/error-test -Label: none uuid: +Label: none uuid: Total devices FS bytes used devid size used path SCRATCH_DEV