commit: 99cda47eba5fcff24dabd4bb424b02b0b38205f4
parent 6e7abd3b1f3724d268f73cfd0abba57fa6317aaf
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sun, 30 Nov 2025 08:01:47 +0100
test-cmd/chmod.sh: remove sticky & setuid tests for now
setuid is forbidden on {Free,Open}BSD
sticky fails on {Free,Net,Open}BSD
Diffstat:
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/test-cmd/chmod.sh b/test-cmd/chmod.sh
@@ -2,7 +2,7 @@
# SPDX-FileCopyrightText: 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
# SPDX-License-Identifier: MPL-2.0
-plans=17
+plans=13
WD="$(dirname "$0")/../"
target="${WD}/cmd/chmod"
. "${WD}/test-cmd/tap.sh"
@@ -40,18 +40,6 @@ t 'mode:-w,+x' "-v -w,+x $tmpfile" "${dash_warn}chmod: Permissions changed from
t 'mode:-r' "-v -r $tmpfile" "${dash_warn}chmod: Permissions changed from 00577/-r-xrwxrwx to 00133/---x-wx-wx for '${tmpfile}'
"
-t 'mode:+t' "-v +t $tmpfile" "chmod: Permissions changed from 00133/---x-wx-wx to 01133/---x-wx-wt for '${tmpfile}'
-"
-
-t 'mode:-t' "-v -t $tmpfile" "${dash_warn}chmod: Permissions changed from 01133/---x-wx-wt to 00133/---x-wx-wx for '${tmpfile}'
-"
-
-t 'ugo+s' "-v ugo+s $tmpfile" "chmod: Permissions changed from 00133/---x-wx-wx to 06133/---s-ws-wx for '${tmpfile}'
-"
-
-t 'ugo-s' "-v ugo-s $tmpfile" "chmod: Permissions changed from 06133/---s-ws-wx to 00133/---x-wx-wx for '${tmpfile}'
-"
-
t '__mode:-x,+w' "-v -- -x,+w $tmpfile" "chmod: Permissions changed from 00133/---x-wx-wx to 00222/--w--w--w- for '${tmpfile}'
"