diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-02-08 08:47:44 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-02-08 08:47:44 -0800 |
commit | d201dc097fa6920b37c16dd83ca7e52575223d2f (patch) | |
tree | 1fbef878311b1c1a8355563d9cea4461a6e1f150 /tests | |
parent | b8a5b08de163e80e1b72459c5c889bb70eef947b (diff) | |
download | txr-d201dc097fa6920b37c16dd83ca7e52575223d2f.tar.gz txr-d201dc097fa6920b37c16dd83ca7e52575223d2f.tar.bz2 txr-d201dc097fa6920b37c16dd83ca7e52575223d2f.zip |
chmod: ugo perms sees effects from same clause.
This is Coreutils chmod behavior.
* sysif.c (chmod_wrap): Sample cmode into oldm at the start of
every assigment before punching the masked hole into cmode.
* tests/018/chmod.tl: Breaking test case added.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/018/chmod.tl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/018/chmod.tl b/tests/018/chmod.tl index 93739c48..8cde28eb 100644 --- a/tests/018/chmod.tl +++ b/tests/018/chmod.tl @@ -46,3 +46,4 @@ (cht "-----x------" "=,a+X" "------------") (cht "-----x------" "a-x+X" "------------") (cht "------------" "u+x-X" "------------") +(cht "------------" "o+x=o" "-----------x") |