Searched refs:xattr (Results 1 - 25 of 68) sorted by relevance

123

/illumos-gate/usr/src/test/zfs-tests/tests/functional/xattr/
H A Dcleanup.ksh32 ZFS_USER=$(cat /tmp/zfs-xattr-test-user.txt)
33 rm /tmp/zfs-xattr-test-user.txt
35 USES_NIS=$(cat /tmp/zfs-xattr-test-nis.txt)
36 rm /tmp/zfs-xattr-test-nis.txt
H A DMakefile19 TARGETDIR = $(ROOTOPTPKG)/tests/functional/xattr
H A Dxattr_011_pos.ksh35 . $STF_SUITE/tests/functional/xattr/xattr_common.kshlib
44 # 2. Create an xattr and archive/move/copy/find files with xattr support
45 # 3. Also check that when appropriate flag is not used, the xattr
57 # Create a file, and set an xattr on it. This file is used in several of the
66 # with and without xattr support, checking for correct behaviour
72 echo $TESTDIR/cpio.$$ | cpio -o@ > /tmp/xattr.$$.cpio
75 # we should have no xattr here
76 log_must cpio -iu < /tmp/xattr.$$.cpio
79 # we should have an xattr her
[all...]
H A Dxattr_002_neg.ksh31 . $STF_SUITE/tests/functional/xattr/xattr_common.kshlib
36 # Trying to read a non-existent xattr should fail.
40 # 2. Try to read a non-existent xattr, check that an error is returned.
49 log_assert "A read of a non-existent xattr fails"
56 log_pass "A read of a non-existent xattr fails"
H A Dsetup.ksh60 echo $ZFS_USER > /tmp/zfs-xattr-test-user.txt
61 echo $USES_NIS > /tmp/zfs-xattr-test-nis.txt
H A Dxattr_001_pos.ksh31 . $STF_SUITE/tests/functional/xattr/xattr_common.kshlib
39 # 1. Create an xattr on a ZFS-based file using runat
40 # 2. Read an empty xattr directory
41 # 3. Write the xattr using runat and cat
42 # 3. Read the xattr using runat
43 # 4. Delete the xattr
44 # 5. List the xattr namespace successfully, checking for deletion
H A Dxattr_003_neg.ksh31 . $STF_SUITE/tests/functional/xattr/xattr_common.kshlib
36 # Attempting to read an xattr on a file for which we have no permissions
40 # 1. Create a file, and set an with an xattr
42 # 3. Check that we're unable to read the xattr as a non-root user
43 # 4. Check that we're unable to write an xattr as a non-root user
52 log_assert "read/write xattr on a file with no permissions fails"
62 log_pass "read/write xattr on a file with no permissions fails"
H A Dxattr_006_pos.ksh31 . $STF_SUITE/tests/functional/xattr/xattr_common.kshlib
38 # 1. Create a file and give it an xattr
50 log_assert "read xattr on a snapshot"
53 # create a file, and an xattr on it
60 # check for the xattr on the snapshot
63 log_pass "read xattr on a snapshot"
H A Dxattr_010_neg.ksh31 . $STF_SUITE/tests/functional/xattr/xattr_common.kshlib
35 # Verify that mkdir and various mknods fail inside the xattr namespace
38 # 1. Create a file and add an xattr to it (to ensure the namespace exists)
39 # 2. Verify that mkdir fails inside the xattr namespace
40 # 3. Verify that various mknods fails inside the xattr namespace
52 # create a file, and an xattr on it
56 # Try to create directory in the xattr namespace
59 # Try to create a range of different filetypes in the xattr namespace
H A Dxattr_009_neg.ksh31 . $STF_SUITE/tests/functional/xattr/xattr_common.kshlib
35 # links between xattr and normal file namespace fail
38 # 1. Create a file and add an xattr to it (to ensure the namespace exists)
49 log_assert "links between xattr and normal file namespace fail"
52 # create a file, and an xattr on it
56 # Try to create a soft link from the xattr namespace to the default namespace
59 # Try to create a hard link from the xattr namespace to the default namespace
62 log_pass "links between xattr and normal file namespace fail"
H A Dxattr_012_pos.ksh35 . $STF_SUITE/tests/functional/xattr/xattr_common.kshlib
39 # xattr file sizes count towards normal disk usage
43 # 2. Create a 200mb xattr in that file
45 # of the xattr
65 log_assert "xattr file sizes count towards normal disk usage"
82 log_must runat $TESTDIR/myfile.$$ mkfile 200m xattr
103 log_pass "xattr file sizes count towards normal disk usage"
H A Dxattr_013_pos.ksh31 . $STF_SUITE/tests/functional/xattr/xattr_common.kshlib
38 # 1. Create a file on a filesystem and add an xattr to it
40 # 3. Verify that the xattr cannot be read and new files
55 zfs set 2>&1 | grep xattr > /dev/null
67 # check that we can't perform xattr operations
80 # we should still have an xattr on the first file
83 # there should be no xattr on the file we created while the fs was mounted
H A Dxattr_008_pos.ksh31 . $STF_SUITE/tests/functional/xattr/xattr_common.kshlib
38 # 1. Create a file and an xattr on that file
55 # create a file, and an xattr on it
/illumos-gate/usr/src/test/smbclient-tests/tests/smbfs/
H A DMakefile27 xattr
/illumos-gate/usr/src/test/smbclient-tests/tests/smbfs/xattr/
H A DMakefile19 ROOTTESTDIR= $(ROOTOPTPKG)/tests/smbfs/xattr
H A Dtp_xattr_001.ksh34 # 1. Create an xattr on a file using runat
35 # 2. Read an empty xattr directory
36 # 3. Write the xattr using runat and cat
37 # 3. Read the xattr using runat
38 # 4. Delete the xattr
39 # 5. List the xattr namespace successfully, checking for deletion
68 smbmount_getmntopts $TMNT |grep /xattr/ >/dev/null
71 cti_unsupported "UNSUPPORTED (no xattr in this mount)"
H A Dtp_xattr_002.ksh31 # Verify trying to read a non-existent xattr should fail.
35 # 2. Try to read a non-existent xattr, check that an error is returned.
41 tc_desc="Verify trying to read a non-existent xattr should fail"
64 smbmount_getmntopts $TMNT |grep /xattr/ >/dev/null
67 cti_unsupported "UNSUPPORTED (no xattr in this mount)"
75 # should not find an xattr file
78 cti_fail "FAIL: A read of a non-existent xattr succeeded unexpectedly"
81 cti_report "PASS: A read of a non-existent xattr fail as expected"
H A Dtp_xattr_006.ksh31 # Verify links between xattr and normal file namespace fail
34 # 1. Create a file and add an xattr to it (to ensure the namespace exists)
42 tc_desc="Verify links between xattr and normal file namespace fail"
65 smbmount_getmntopts $TMNT |grep /xattr/ >/dev/null
68 cti_unsupported "UNSUPPORTED (no xattr in this mount)"
77 # Try to create a soft link from the xattr namespace to the default namespace
81 cti_fail "FAIL: symbolic link between xattr and normal file namespace succeeded unexpectedly"
84 cti_report "PASS: symbolic link between xattr and normal file namespace failed as expected"
87 # Try to create a hard link from the xattr namespace to the default namespace
91 cti_fail "FAIL: hard link between xattr an
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/trivial/
H A Dzfs_acl_find_001_pos.ksh36 # Verifies ability to find files with attribute with -xattr flag and using
41 # 2. Verify all the specified files can be found with '-xattr',
48 "-xattr flag and using '-exec runat ls'"
61 -xattr -print)
65 log_note "find $f by '-xattr'."
72 -xattr -exec runat {} ls $af \\\;)
85 log_pass "find files with -xattr passed."
H A Dzfs_acl_find_002_neg.ksh36 # Verifies ability to find files with attribute with -xattr flag and using
42 # 2. Verify all the specified files can not be found with '-xattr',
48 log_assert "verifies -xattr doesn't include files without " \
69 -xattr -print)
77 -xattr -exec runat {} ls attribute.$j \\\;)
91 log_pass "find files which have no attrabute files with -xattr passed."
/illumos-gate/usr/src/test/zfs-tests/tests/functional/delegate/
H A Dzfs_allow_012_neg.ksh62 zoned xattr receive destroy sharenfs share
/illumos-gate/usr/src/test/zfs-tests/tests/functional/large_dnode/
H A Dlarge_dnode_008_pos.ksh32 # Run many xattrtests on a dataset with large dnodes and xattr=sa to
65 log_must zfs set xattr=sa $TEST_FS
H A Dlarge_dnode_009_pos.ksh32 # Run many xattrtests on a dataset with large dnodes and xattr=sa to
50 log_must zfs set xattr=sa $TEST_FS
/illumos-gate/usr/src/test/zfs-tests/tests/functional/userquota/
H A Duserquota_013_pos.ksh61 log_must zfs set xattr=on $QFS
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dbiossmap.c45 uint32_t xattr; /* Extended attribute from ACPI 3.0 */ member in struct:smap_buf
86 next->xattr = buf.xattr;
106 smapattr[n++] = cur->xattr &

Completed in 212 milliseconds

123