aboutsummaryrefslogtreecommitdiff
path: root/tests/unistd/access.out
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unistd/access.out')
-rw-r--r--tests/unistd/access.out45
1 files changed, 45 insertions, 0 deletions
diff --git a/tests/unistd/access.out b/tests/unistd/access.out
new file mode 100644
index 00000000..dffe0b9e
--- /dev/null
+++ b/tests/unistd/access.out
@@ -0,0 +1,45 @@
+F_OK(/readable): 0
+errno: 0
+R_OK(/readable): 0
+errno: 0
+X_OK(/readable): 0
+errno: 0
+W_OK(/readable): -1
+errno: 13
+
+F_OK(/writeable): 0
+errno: 0
+R_OK(/writeable): -1
+errno: 13
+X_OK(/writeable): -1
+errno: 13
+W_OK(/writeable): 0
+errno: 0
+
+F_OK(/allaccess): 0
+errno: 0
+R_OK(/allaccess): 0
+errno: 0
+X_OK(/allaccess): 0
+errno: 0
+W_OK(/allaccess): 0
+errno: 0
+
+F_OK(/forbidden): 0
+errno: 0
+R_OK(/forbidden): -1
+errno: 13
+X_OK(/forbidden): -1
+errno: 13
+W_OK(/forbidden): -1
+errno: 13
+
+F_OK(/nonexistent): -1
+errno: 2
+R_OK(/nonexistent): -1
+errno: 2
+X_OK(/nonexistent): -1
+errno: 2
+W_OK(/nonexistent): -1
+errno: 2
+