Further improve builtin path tests

This commit is contained in:
ridiculousfish 2023-08-06 18:49:04 -07:00
parent 62ad661a5c
commit f4132af114

View file

@ -143,18 +143,37 @@ path filter --perm read stuff/* | path sort
# CHECK: stuff/readexec
# 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
# CHECK: stuff/all
# CHECK: stuff/readwrite
# CHECK: stuff/write
# 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
# CHECK: stuff/all
# CHECK: stuff/exec
# CHECK: stuff/readexec
# 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
# CHECK: stuff/all
# CHECK: stuff/readwrite