mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:38:10 +00:00
test: Support more options
Adds -g, -G, -k, -O and -u options.
This commit is contained in:
parent
caab6ac968
commit
6c86b40724
2 changed files with 97 additions and 3 deletions
|
@ -71,6 +71,11 @@ The expression can take any of the following forms:
|
|||
* `-w <file>` whether the current user has write access to the file
|
||||
* `-x <file>` whether the current user has execute access to the file
|
||||
* `-e <file>` whether the file exists
|
||||
* `-g <file>` whether the file exists and has the set-group-ID bit set
|
||||
* `-G <file>` whether the file exists and is owned by the effective group ID
|
||||
* `-k <file>` whether the file exists and has the sticky bit set
|
||||
* `-O <file>` whether the file exists and is owned by the effective user ID
|
||||
* `-u <file>` whether the file exists and has the set-user-ID bit set
|
||||
|
||||
|
||||
Except for `-h/-L`, all file checks dereference symbolic links.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue