diff mbox series

[1/3] xfs: fix dax inode flag test failures

Message ID 167400102458.1914858.6889539595788984119.stgit@magnolia (mailing list archive)
State New, archived
Headers show
Series fstests: fix dax+reflink tests | expand

Commit Message

Darrick J. Wong Jan. 18, 2023, 12:42 a.m. UTC
From: Darrick J. Wong <djwong@kernel.org>

Filter out the DAX inode flag because it's causing problems with this
test.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
---
 tests/xfs/128 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Xiao Yang Jan. 18, 2023, 6:55 a.m. UTC | #1
Hi Darrick,

It looks good to me.
Reviewed-by: Xiao Yang <yangx.jy@fujitsu.com>

Best Regards,
Xiao Yang

On 2023/1/18 8:42, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong@kernel.org>
> 
> Filter out the DAX inode flag because it's causing problems with this
> test.
> 
> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
> ---
>   tests/xfs/128 |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 
> diff --git a/tests/xfs/128 b/tests/xfs/128
> index 5591342d41..8c1663c6c5 100755
> --- a/tests/xfs/128
> +++ b/tests/xfs/128
> @@ -81,7 +81,7 @@ c13=$(_md5_checksum $testdir/file3)
>   c14=$(_md5_checksum $testdir/file4)
>   
>   echo "Defragment"
> -lsattr -l $testdir/ | _filter_scratch | _filter_spaces
> +lsattr -l $testdir/ | _filter_scratch | _filter_spaces | sed -e 's/DAX/---/g'
>   $XFS_FSR_PROG -v -d $testdir/file1 >> $seqres.full
>   $XFS_FSR_PROG -v -d $testdir/file2 >> $seqres.full # fsr probably breaks the link
>   $XFS_FSR_PROG -v -d $testdir/file3 >> $seqres.full # fsr probably breaks the link
>
diff mbox series

Patch

diff --git a/tests/xfs/128 b/tests/xfs/128
index 5591342d41..8c1663c6c5 100755
--- a/tests/xfs/128
+++ b/tests/xfs/128
@@ -81,7 +81,7 @@  c13=$(_md5_checksum $testdir/file3)
 c14=$(_md5_checksum $testdir/file4)
 
 echo "Defragment"
-lsattr -l $testdir/ | _filter_scratch | _filter_spaces
+lsattr -l $testdir/ | _filter_scratch | _filter_spaces | sed -e 's/DAX/---/g'
 $XFS_FSR_PROG -v -d $testdir/file1 >> $seqres.full
 $XFS_FSR_PROG -v -d $testdir/file2 >> $seqres.full # fsr probably breaks the link
 $XFS_FSR_PROG -v -d $testdir/file3 >> $seqres.full # fsr probably breaks the link