summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2017-11-05 11:02:27 -0500
committerTavian Barnes <tavianator@tavianator.com>2017-11-05 11:02:27 -0500
commit7f8bacca4c2b1d35bb65ddf8cbf70fadf1adf66e (patch)
tree54d1ba2f4f1cbe4a4465b87053bf229909a500c9 /tests
parent3c02f3290804acedfc922ae82ce2a3aca5ca2ec7 (diff)
downloadbfs-7f8bacca4c2b1d35bb65ddf8cbf70fadf1adf66e.tar.xz
parse: Support -perm +7777, for compatibility with BSD and old GNU find
Diffstat (limited to 'tests')
-rw-r--r--tests/test_perm_222_plus.out5
-rw-r--r--tests/test_perm_644_plus.out7
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/test_perm_222_plus.out b/tests/test_perm_222_plus.out
new file mode 100644
index 0000000..9a5b95a
--- /dev/null
+++ b/tests/test_perm_222_plus.out
@@ -0,0 +1,5 @@
+perms
+perms/rw
+perms/rwx
+perms/w
+perms/wx
diff --git a/tests/test_perm_644_plus.out b/tests/test_perm_644_plus.out
new file mode 100644
index 0000000..7e5ae98
--- /dev/null
+++ b/tests/test_perm_644_plus.out
@@ -0,0 +1,7 @@
+perms
+perms/r
+perms/rw
+perms/rwx
+perms/rx
+perms/w
+perms/wx