aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2020-01-06 12:48:28 -0600
committerRob Landley <rob@landley.net>2020-01-06 12:48:28 -0600
commitc25ff2dde84d2af5744a1dc7d0dbd2c14cbaae62 (patch)
treeb181d19f151f3cf968050a2e6a37b784cd5de679 /tests
parentc87487ffd9781a1a77a1dcef293e3e706146a4aa (diff)
downloadtoybox-c25ff2dde84d2af5744a1dc7d0dbd2c14cbaae62.tar.gz
SebiderSushi reported that chmod g+s wasn't working.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/chmod.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/chmod.test b/tests/chmod.test
index cf035f2d..b2b5a488 100755
--- a/tests/chmod.test
+++ b/tests/chmod.test
@@ -107,6 +107,10 @@ chtest +x "drwxr-xr-x\n-rwxr-xr-x\n"
chtest -r "d-wx--x--x\n--w-------\n"
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 o+s "drwxr-xr-x\n-rw-r--r--\n"
+chtest +t "drwxr-xr-t\n-rw-r--r-T\n"
# Removing test files for cleanup purpose
rm -rf dir file