From: Filipe Manana <fdmanana@xxxxxxxx> After commit aaa132777476 ("fstests: per-test dmdust instances") the dmdust device names are no longer a plain 'dust-test', they now have a suffix matching '.N', where N is the test's sequence number. The test cases btrf/142 and btrfs/143 are still using the old device names, so they fail. Fix this my making them refer to 'dust-test.$seq' instead of 'dust-test'. Fixes: aaa132777476 ("fstests: per-test dmdust instances") Signed-off-by: Filipe Manana <fdmanana@xxxxxxxx> --- tests/btrfs/142 | 4 ++-- tests/btrfs/143 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/btrfs/142 b/tests/btrfs/142 index cf7e8daa..0ab0f801 100755 --- a/tests/btrfs/142 +++ b/tests/btrfs/142 @@ -58,8 +58,8 @@ _mount_dust # step 3, 128k dio read (this read can repair bad copy) echo "step 3......repair the bad copy" >>$seqres.full -$DMSETUP_PROG message dust-test 0 addbadblock $((physical / 512)) -$DMSETUP_PROG message dust-test 0 enable +$DMSETUP_PROG message dust-test.$seq 0 addbadblock $((physical / 512)) +$DMSETUP_PROG message dust-test.$seq 0 enable _btrfs_direct_read_on_mirror $stripe 2 "$SCRATCH_MNT/foobar" 0 128K diff --git a/tests/btrfs/143 b/tests/btrfs/143 index 5da9a578..490f27b5 100755 --- a/tests/btrfs/143 +++ b/tests/btrfs/143 @@ -65,8 +65,8 @@ _mount_dust # step 3, 128k buffered read (this read can repair bad copy) echo "step 3......repair the bad copy" >>$seqres.full -$DMSETUP_PROG message dust-test 0 addbadblock $((physical / 512)) -$DMSETUP_PROG message dust-test 0 enable +$DMSETUP_PROG message dust-test.$seq 0 addbadblock $((physical / 512)) +$DMSETUP_PROG message dust-test.$seq 0 enable _btrfs_buffered_read_on_mirror $stripe 2 "$SCRATCH_MNT/foobar" 0 128K -- 2.45.2