test code v1
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
# Test Case: List the FreeBSD system namespace
|
||||
|
||||
**Test ID**: TC072-shared-system-xattr-list
|
||||
**Fixture**: `basic.erofs`
|
||||
|
||||
## Objective
|
||||
|
||||
Verify that trusted, security, and POSIX ACL indexes are listed only through
|
||||
FreeBSD namespace `system` with their ABI names.
|
||||
|
||||
## Manual steps
|
||||
|
||||
```sh
|
||||
lsextattr system /mnt/repo22-g4/trusted-shared-a
|
||||
lsextattr system /mnt/repo22-g4/security-shared-a
|
||||
lsextattr system /mnt/repo22-g4/acl-unordered
|
||||
lsextattr user /mnt/repo22-g4/trusted-shared-a
|
||||
stat -f '%HT %Sp' /mnt/repo22-g4/trusted-shared-a \
|
||||
/mnt/repo22-g4/security-shared-a /mnt/repo22-g4/acl-unordered
|
||||
```
|
||||
|
||||
## Expected results
|
||||
|
||||
The three system lists contain `trusted.config`, `security.selinux`, and
|
||||
`posix_acl_access`, respectively. The trusted file's user list is empty.
|
||||
Unmount and detach.
|
||||
Reference in New Issue
Block a user