summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh15
1 files changed, 10 insertions, 5 deletions
diff --git a/tests.sh b/tests.sh
index 9775292..387562b 100755
--- a/tests.sh
+++ b/tests.sh
@@ -263,6 +263,8 @@ bsd_tests=(
test_uid_name
test_mnewer
test_H_mnewer
+ test_perm_222_plus
+ test_perm_644_plus
test_size_T
test_quit
test_quit_child
@@ -389,7 +391,6 @@ bfs_tests=(
test_perm_symbolic_double_comma
test_perm_symbolic_missing_action
test_perm_leading_plus_symbolic
- test_perm_octal_plus
test_execdir_plus
test_hidden
test_nohidden
@@ -1000,6 +1001,10 @@ function test_perm_222_slash() {
bfs_diff perms -perm /222
}
+function test_perm_222_plus() {
+ bfs_diff perms -perm +222
+}
+
function test_perm_644() {
bfs_diff perms -perm 644
}
@@ -1012,6 +1017,10 @@ function test_perm_644_slash() {
bfs_diff perms -perm /644
}
+function test_perm_644_plus() {
+ bfs_diff perms -perm +644
+}
+
function test_perm_symbolic() {
bfs_diff perms -perm a+r,u=wX,g+wX-w
}
@@ -1048,10 +1057,6 @@ function test_perm_leading_plus_symbolic_slash() {
bfs_diff perms -perm /+rwx
}
-function test_perm_octal_plus() {
- ! invoke_bfs perms -perm +777 2>/dev/null
-}
-
function test_permcopy() {
bfs_diff perms -perm u+rw,g+u-w,o=g
}