summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2018-07-20 12:59:26 -0400
committerTavian Barnes <tavianator@tavianator.com>2018-07-20 12:59:26 -0400
commit86f0049bff0c8c802bb07fcb52ae468608ec0920 (patch)
tree935897cfcdbf707ad661008df4e430fcff5b1d35 /tests
parent510a7bd65c680fcf292493b5c00ce32c90a5155c (diff)
downloadbfs-86f0049bff0c8c802bb07fcb52ae468608ec0920.tar.xz
tests: Add tests for mode 000
Diffstat (limited to 'tests')
-rw-r--r--tests/test_perm_000.out1
-rw-r--r--tests/test_perm_000_minus.out8
-rw-r--r--tests/test_perm_000_plus.out8
-rw-r--r--tests/test_perm_000_slash.out8
4 files changed, 25 insertions, 0 deletions
diff --git a/tests/test_perm_000.out b/tests/test_perm_000.out
new file mode 100644
index 0000000..5fd30bc
--- /dev/null
+++ b/tests/test_perm_000.out
@@ -0,0 +1 @@
+perms/0
diff --git a/tests/test_perm_000_minus.out b/tests/test_perm_000_minus.out
new file mode 100644
index 0000000..d7494b8
--- /dev/null
+++ b/tests/test_perm_000_minus.out
@@ -0,0 +1,8 @@
+perms
+perms/0
+perms/r
+perms/rw
+perms/rwx
+perms/rx
+perms/w
+perms/wx
diff --git a/tests/test_perm_000_plus.out b/tests/test_perm_000_plus.out
new file mode 100644
index 0000000..d7494b8
--- /dev/null
+++ b/tests/test_perm_000_plus.out
@@ -0,0 +1,8 @@
+perms
+perms/0
+perms/r
+perms/rw
+perms/rwx
+perms/rx
+perms/w
+perms/wx
diff --git a/tests/test_perm_000_slash.out b/tests/test_perm_000_slash.out
new file mode 100644
index 0000000..d7494b8
--- /dev/null
+++ b/tests/test_perm_000_slash.out
@@ -0,0 +1,8 @@
+perms
+perms/0
+perms/r
+perms/rw
+perms/rwx
+perms/rx
+perms/w
+perms/wx