]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
overlay/026: Fix test expectation for newer kernels
authorAlexander Larsson <alexl@redhat.com>
Wed, 22 Nov 2023 15:20:13 +0000 (17:20 +0200)
committerZorro Lang <zlang@kernel.org>
Sat, 9 Dec 2023 05:52:36 +0000 (13:52 +0800)
commit2a4fef036ee795e57069d928bbe48c07be9b0e77
tree4b3712489428bb8a0256d8417b23621592b99bf1
parent98865122ed3cbedabffdb09d1c4af32bfa32baf5
overlay/026: Fix test expectation for newer kernels

The test checks the expectaion from old kernels that set/get of
trusted.overlay.* xattrs is not supported on an overlayfs filesystem.

New kernels support set/get xattr of trusted.overlay.* xattrs, so adapt
the test to check that either both set and get work on new kernel, or
neither work on old kernel.

Signed-off-by: Alexander Larsson <alexl@redhat.com>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/overlay
tests/overlay/026
tests/overlay/026.out