summaryrefslogtreecommitdiffstats
path: root/tests/stddirs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stddirs.sh')
-rw-r--r--tests/stddirs.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/stddirs.sh b/tests/stddirs.sh
index 8f8440d..b908ebe 100644
--- a/tests/stddirs.sh
+++ b/tests/stddirs.sh
@@ -14,13 +14,13 @@ make_basic() {
# Creates a file+directory structure with various permissions for tests
make_perms() {
- "$XTOUCH" -p -M000 "$1/0"
- "$XTOUCH" -p -M444 "$1/r"
- "$XTOUCH" -p -M222 "$1/w"
- "$XTOUCH" -p -M644 "$1/rw"
- "$XTOUCH" -p -M555 "$1/rx"
- "$XTOUCH" -p -M311 "$1/wx"
- "$XTOUCH" -p -M755 "$1/rwx"
+ "$XTOUCH" -p -M000 "$1/f---"
+ "$XTOUCH" -p -M444 "$1/fr--"
+ "$XTOUCH" -p -M222 "$1/f-w-"
+ "$XTOUCH" -p -M644 "$1/frw-"
+ "$XTOUCH" -p -M311 "$1/f-wx"
+ "$XTOUCH" -p -M555 "$1/fr-x" "$1/dr-x/"
+ "$XTOUCH" -p -M755 "$1/frwx" "$1/drwx/"
}
# Creates a file+directory structure with various symbolic and hard links