2 # SPDX-License-Identifier: GPL-2.0+
3 # Copyright (c) 2019 Oracle, Inc. All Rights Reserved.
7 # Check that xattrs can have slashes in their name.
10 _begin_fstest auto quick attr
12 # Import common functions.
16 # real QA test starts here
21 _scratch_mkfs >> $seqres.full 2>&1
25 file=$SCRATCH_MNT/moofile
27 $SETFATTR_PROG -n "user.boo/hoo" -v "woof" $file
30 _getfattr -d --absolute-names $file | _filter_scratch
32 # Now we let the fsck tool check the filesystem, because xfs_repair had a
33 # regression where it would flag and erase any xattr with a '/' in it.