diff --git a/tests/checks/path.fish b/tests/checks/path.fish index 0e36f35d1..e311a6b5a 100644 --- a/tests/checks/path.fish +++ b/tests/checks/path.fish @@ -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