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

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



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>
---
 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
-- 
2.45.2





[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