mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 05:43:11 +00:00
Further improve builtin path tests
This commit is contained in:
parent
62ad661a5c
commit
f4132af114
1 changed files with 19 additions and 0 deletions
|
@ -143,18 +143,37 @@ path filter --perm read stuff/* | path sort
|
||||||
# CHECK: stuff/readexec
|
# CHECK: stuff/readexec
|
||||||
# CHECK: stuff/readwrite
|
# CHECK: stuff/readwrite
|
||||||
|
|
||||||
|
path filter -r stuff/* | path sort
|
||||||
|
# CHECK: stuff/all
|
||||||
|
# CHECK: stuff/read
|
||||||
|
# CHECK: stuff/readexec
|
||||||
|
# CHECK: stuff/readwrite
|
||||||
|
|
||||||
path filter --perm write stuff/* | path sort
|
path filter --perm write stuff/* | path sort
|
||||||
# CHECK: stuff/all
|
# CHECK: stuff/all
|
||||||
# CHECK: stuff/readwrite
|
# CHECK: stuff/readwrite
|
||||||
# CHECK: stuff/write
|
# CHECK: stuff/write
|
||||||
# CHECK: stuff/writeexec
|
# CHECK: stuff/writeexec
|
||||||
|
|
||||||
|
path filter -w stuff/* | path sort
|
||||||
|
# CHECK: stuff/all
|
||||||
|
# CHECK: stuff/readwrite
|
||||||
|
# CHECK: stuff/write
|
||||||
|
# CHECK: stuff/writeexec
|
||||||
|
|
||||||
path filter --perm exec stuff/* | path sort
|
path filter --perm exec stuff/* | path sort
|
||||||
# CHECK: stuff/all
|
# CHECK: stuff/all
|
||||||
# CHECK: stuff/exec
|
# CHECK: stuff/exec
|
||||||
# CHECK: stuff/readexec
|
# CHECK: stuff/readexec
|
||||||
# CHECK: stuff/writeexec
|
# CHECK: stuff/writeexec
|
||||||
|
|
||||||
|
path filter -x stuff/* | path sort
|
||||||
|
# CHECK: stuff/all
|
||||||
|
# CHECK: stuff/exec
|
||||||
|
# CHECK: stuff/readexec
|
||||||
|
# CHECK: stuff/writeexec
|
||||||
|
|
||||||
|
|
||||||
path filter --perm read,write stuff/* | path sort
|
path filter --perm read,write stuff/* | path sort
|
||||||
# CHECK: stuff/all
|
# CHECK: stuff/all
|
||||||
# CHECK: stuff/readwrite
|
# CHECK: stuff/readwrite
|
||||||
|
|
Loading…
Reference in a new issue