exa/xtests/attributes
Benjamin Sago 882ac489ce Much more thorough xattr testing
It now tests a lot more combinations of xattrs on files, as well as xattrs and files and errors as the children of directories.

The recent code changes have touched the part where directories’ xattrs and children are displayed at the same tree level, and there weren’t enough tests for this.
2017-07-04 17:42:16 +01:00

7.0 KiB

drwxrwxr-x - cassowary 1 Jan 12:34 /testcases/attributes
drwxrwxr-x - cassowary 1 Jan 12:34 ├── dirs
drwxrwxr-x - cassowary 1 Jan 12:34 │ ├── no-xattrs_empty
d--------- - cassowary 1 Jan 12:34 │ ├── no-xattrs_empty_forbidden
drwxrwxr-x - cassowary 1 Jan 12:34 │ ├── no-xattrs_one-file
.rw-rw-r-- 0 cassowary 1 Jan 12:34 │ │ └── file-in-question
d--------- - cassowary 1 Jan 12:34 │ ├── no-xattrs_one-file_forbidden
drwxrwxr-x - cassowary 1 Jan 12:34 │ ├── no-xattrs_two-files
.rw-rw-r-- 0 cassowary 1 Jan 12:34 │ │ ├── that-file
.rw-rw-r-- 0 cassowary 1 Jan 12:34 │ │ └── this-file
d--------- - cassowary 1 Jan 12:34 │ ├── no-xattrs_two-files_forbidden
drwxrwxr-x@ - cassowary 1 Jan 12:34 │ ├── one-xattr_empty
│ │ └── user.greeting (len 5)
d--------- - cassowary 1 Jan 12:34 │ ├── one-xattr_empty_forbidden
drwxrwxr-x@ - cassowary 1 Jan 12:34 │ ├── one-xattr_one-file
│ │ ├── user.greeting (len 5)
.rw-rw-r-- 0 cassowary 1 Jan 12:34 │ │ └── file-in-question
d--------- - cassowary 1 Jan 12:34 │ ├── one-xattr_one-file_forbidden
drwxrwxr-x@ - cassowary 1 Jan 12:34 │ ├── one-xattr_two-files
│ │ ├── user.greeting (len 5)
.rw-rw-r-- 0 cassowary 1 Jan 12:34 │ │ ├── that-file
.rw-rw-r-- 0 cassowary 1 Jan 12:34 │ │ └── this-file
d--------- - cassowary 1 Jan 12:34 │ ├── one-xattr_two-files_forbidden
drwxrwxr-x@ - cassowary 1 Jan 12:34 │ ├── two-xattrs_empty
│ │ ├── user.greeting (len 5)
│ │ └── user.another_greeting (len 2)
d--------- - cassowary 1 Jan 12:34 │ ├── two-xattrs_empty_forbidden
drwxrwxr-x@ - cassowary 1 Jan 12:34 │ ├── two-xattrs_one-file
│ │ ├── user.greeting (len 5)
│ │ ├── user.another_greeting (len 2)
.rw-rw-r-- 0 cassowary 1 Jan 12:34 │ │ └── file-in-question
d--------- - cassowary 1 Jan 12:34 │ ├── two-xattrs_one-file_forbidden
drwxrwxr-x@ - cassowary 1 Jan 12:34 │ ├── two-xattrs_two-files
│ │ ├── user.greeting (len 5)
│ │ ├── user.another_greeting (len 2)
.rw-rw-r-- 0 cassowary 1 Jan 12:34 │ │ ├── that-file
.rw-rw-r-- 0 cassowary 1 Jan 12:34 │ │ └── this-file
d--------- - cassowary 1 Jan 12:34 │ └── two-xattrs_two-files_forbidden
drwxrwxr-x - cassowary 1 Jan 12:34 └── files
.rw-rw-r-- 0 cassowary 1 Jan 12:34 ├── no-xattrs
.--------- 0 cassowary 1 Jan 12:34 ├── no-xattrs_forbidden
.rw-rw-r--@ 0 cassowary 1 Jan 12:34 ├── one-xattr
│ └── user.greeting (len 5)
.--------- 0 cassowary 1 Jan 12:34 ├── one-xattr_forbidden
.rw-rw-r--@ 0 cassowary 1 Jan 12:34 ├── two-xattrs
│ ├── user.greeting (len 5)
│ └── user.another_greeting (len 2)
.--------- 0 cassowary 1 Jan 12:34 └── two-xattrs_forbidden