aboutsummaryrefslogtreecommitdiff
path: root/tests/unistd/curdir.out
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unistd/curdir.out')
-rw-r--r--tests/unistd/curdir.out34
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/unistd/curdir.out b/tests/unistd/curdir.out
new file mode 100644
index 00000000..e353f1c4
--- /dev/null
+++ b/tests/unistd/curdir.out
@@ -0,0 +1,34 @@
+getwd: /
+errno: 0
+getcwd: /
+errno: 0
+
+chdir(file): -1
+errno: 20
+
+chdir(device): -1
+errno: 20
+
+chdir(folder): 0
+errno: 0
+getwd: /folder
+errno: 0
+getcwd: /folder
+errno: 0
+
+chdir(nonexistent): -1
+errno: 2
+
+chdir(link): 0
+errno: 0
+getwd: /folder
+errno: 0
+getcwd: /folder
+errno: 0
+
+fchdir(/): 0
+errno: 0
+getwd: /
+errno: 0
+getcwd: /
+errno: 0