summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests.sh b/tests.sh
index c518f33..2fce23b 100755
--- a/tests.sh
+++ b/tests.sh
@@ -164,6 +164,7 @@ posix_tests=(
test_perm_symbolic
test_perm_symbolic_minus
test_perm_leading_plus_symbolic_minus
+ test_permcopy
test_ok_stdin
test_parens
test_bang
@@ -833,6 +834,10 @@ function test_perm_octal_plus() {
! $BFS perms -perm +777 2>/dev/null
}
+function test_permcopy() {
+ bfs_diff perms -perm u+rw,g+u-w,o=g
+}
+
function test_ok_stdin() {
# -ok should *not* close stdin
# See https://savannah.gnu.org/bugs/?24561