exa/xtests/details-view-permissions.toml

16 lines
756 B
TOML
Raw Normal View History

2020-10-17 19:39:44 +00:00
[[cmd]]
name = "exa -lghR (not as the user) produces a tree view with attribute entries"
shell = "exa -lghR /testcases/permissions"
stdout = { file = "outputs/permissions_long_group_header.ansitxt" }
stderr = { string = "/testcases/permissions/forbidden-directory: Permission denied (os error 13)" }
status = 0
tags = [ 'long', 'group', 'header', 'xattrs' ]
[[cmd]]
name = "exa -lghR (as the user) produces a tree view with attribute entries"
shell = "sudo -u cassowary exa -lghR /testcases/permissions"
stdout = { file = "outputs/permissions_long_group_header_sudo.ansitxt" }
stderr = { string = "/testcases/permissions/forbidden-directory: Permission denied (os error 13)" }
status = 0
tags = [ 'long', 'group', 'header', 'xattrs', 'sudo' ]