aboutsummaryrefslogtreecommitdiff
path: root/tests/unistd
diff options
context:
space:
mode:
authormax99x <max99x@gmail.com>2011-07-28 13:55:24 +0300
committermax99x <max99x@gmail.com>2011-07-28 14:01:08 +0300
commit16f60de7f278ce8fb38253cfb1bf8d218dfe9ce9 (patch)
tree906d31b3c6bf8d6638e55cb96308c86333e1d7ff /tests/unistd
parent4c3f2fb804c66e5056c8d26d206eed0114b12a40 (diff)
Implemented most of stdio.h and updated all references.
Diffstat (limited to 'tests/unistd')
-rw-r--r--tests/unistd/dup.out12
-rw-r--r--tests/unistd/isatty.js2
2 files changed, 7 insertions, 7 deletions
diff --git a/tests/unistd/dup.out b/tests/unistd/dup.out
index 439c6fd5..da95157d 100644
--- a/tests/unistd/dup.out
+++ b/tests/unistd/dup.out
@@ -1,17 +1,17 @@
DUP
errno: 0
-f: 1
-f2: 2
-f3: 3
+f: 4
+f2: 5
+f3: 6
close(f1): 0
close(f2): 0
close(f3): 0
DUP2
errno: 0
-f: 4
-f2: 5
-f3: 5
+f: 7
+f2: 8
+f3: 8
close(f1): 0
close(f2): 0
close(f3): -1
diff --git a/tests/unistd/isatty.js b/tests/unistd/isatty.js
index 6399f9e9..d88bd2be 100644
--- a/tests/unistd/isatty.js
+++ b/tests/unistd/isatty.js
@@ -2,4 +2,4 @@ FS.createDevice('/', 'read', function() {}, null);
FS.createDevice('/', 'write', null, function() {});
FS.createDevice('/', 'all', function() {}, function() {});
FS.createFolder('/', 'folder', true, true);
-FS.createDataFile('/', 'file', true, true);
+FS.createDataFile('/', 'file', 'test', true, true);