diff options
Diffstat (limited to 'tests/chmod.test')
-rwxr-xr-x | tests/chmod.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/chmod.test b/tests/chmod.test index cd4f8100..6c4de0c0 100755 --- a/tests/chmod.test +++ b/tests/chmod.test @@ -115,6 +115,11 @@ unset SKIP chtest +t "drwxr-xr-t\n-rw-r--r-T\n" chtest a=r+w+x "drwxrwxrwx\n-rwxrwxrwx\n" +# (chtest starts off with a directory that's +x...) +testing "+X" \ + "mkdir -m 000 Xd && touch Xf && chmod +X Xd Xf && ls -ld Xd Xf | cut -d' ' -f 1" \ + "d--x--x--x\n-rw-r--r--\n" "" "" + mkdir foo ln -s bar foo/baz # If you explicitly ask us, we'll try (and fail) to chmod a symlink. |