aboutsummaryrefslogtreecommitdiff
path: root/tests/unistd/truncate.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unistd/truncate.js')
-rw-r--r--tests/unistd/truncate.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unistd/truncate.js b/tests/unistd/truncate.js
new file mode 100644
index 00000000..6a4c6868
--- /dev/null
+++ b/tests/unistd/truncate.js
@@ -0,0 +1,2 @@
+FS.createDataFile('/', 'towrite', 'abcdef', true, true);
+FS.createDataFile('/', 'toread', 'abcdef', true, false);