aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2020-11-25 16:00:47 -0600
committerRob Landley <rob@landley.net>2020-11-25 16:00:47 -0600
commite3ce0338d4c4d60052b6f9f92175218cf6cf97c8 (patch)
treed9723eb34a91267c9d6a8483a94a550766d7ff16 /tests
parentfdfffae6da237b861ff3ef7394a9fc539e5a6e8c (diff)
downloadtoybox-e3ce0338d4c4d60052b6f9f92175218cf6cf97c8.tar.gz
Fix help text to explain why o+s isn't +t, add test +s not setting +t.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/chmod.test1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/chmod.test b/tests/chmod.test
index cbc32805..9dcf796e 100755
--- a/tests/chmod.test
+++ b/tests/chmod.test
@@ -109,6 +109,7 @@ chtest -w "dr-xr-xr-x\n-r--r--r--\n"
chtest -x "drw-r--r--\n-rw-r--r--\n"
chtest g+s "drwxr-sr-x\n-rw-r-Sr--\n"
chtest u+s "drwsr-xr-x\n-rwSr--r--\n"
+chtest +s "drwsr-sr-x\n-rwSr-Sr--\n"
chtest o+s "drwxr-xr-x\n-rw-r--r--\n"
chtest +t "drwxr-xr-t\n-rw-r--r-T\n"