Re: [PATCH] btrfs/100, btrfs/101: fix device name in their golden output

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]





在 2024/12/11 04:03, fdmanana@xxxxxxxxxx 写道:
From: Filipe Manana <fdmanana@xxxxxxxx>

After commit 88c0291d297c ("fstests: per-test dmerror instances"), the dm
error device name changed so that it's no longer a plain 'error-test' but
instead it's that plus a prefix matching the test number, such as
'error-test.100' for example. The tests btrfs/100 and btrfs/101 are still
using the plain old name 'error-test' in their golden output, which makes
them fail. So update them to use 'error-test.100' and 'error-test.101'.

Fixes: 88c0291d297c ("fstests: per-test dmerror instances")
Signed-off-by: Filipe Manana <fdmanana@xxxxxxxx>

Reviewed-by: Qu Wenruo <wqu@xxxxxxxx>

Thanks,
Qu

---
  tests/btrfs/100.out | 2 +-
  tests/btrfs/101.out | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/btrfs/100.out b/tests/btrfs/100.out
index 1fe3c0de..e0e6cec2 100644
--- a/tests/btrfs/100.out
+++ b/tests/btrfs/100.out
@@ -2,7 +2,7 @@ QA output created by 100
  Label: none  uuid: <UUID>
  	Total devices <NUM> FS bytes used <SIZE>
  	devid <DEVID> size <SIZE> used <SIZE> path SCRATCH_DEV
-	devid <DEVID> size <SIZE> used <SIZE> path /dev/mapper/error-test
+	devid <DEVID> size <SIZE> used <SIZE> path /dev/mapper/error-test.100
  Label: none  uuid: <UUID>
  	Total devices <NUM> FS bytes used <SIZE>
  	devid <DEVID> size <SIZE> used <SIZE> path SCRATCH_DEV
diff --git a/tests/btrfs/101.out b/tests/btrfs/101.out
index c2359c7c..fbb5faa1 100644
--- a/tests/btrfs/101.out
+++ b/tests/btrfs/101.out
@@ -2,7 +2,7 @@ QA output created by 101
  Label: none  uuid: <UUID>
  	Total devices <NUM> FS bytes used <SIZE>
  	devid <DEVID> size <SIZE> used <SIZE> path SCRATCH_DEV
-	devid <DEVID> size <SIZE> used <SIZE> path /dev/mapper/error-test
+	devid <DEVID> size <SIZE> used <SIZE> path /dev/mapper/error-test.101
  Label: none  uuid: <UUID>
  	Total devices <NUM> FS bytes used <SIZE>
  	devid <DEVID> size <SIZE> used <SIZE> path SCRATCH_DEV





[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux