summaryrefslogtreecommitdiff
path: root/lib/bio
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bio')
-rw-r--r--lib/bio/test/bio-write.myr1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bio/test/bio-write.myr b/lib/bio/test/bio-write.myr
index 3b682c5..18b5a77 100644
--- a/lib/bio/test/bio-write.myr
+++ b/lib/bio/test/bio-write.myr
@@ -7,6 +7,7 @@ const main = {
/* Must be bigger than a bio buffer (ie, > 64k) */
var buf : byte[64*1024]
+ std.mkpath("tmpout")
match bio.create("tmpout/test-write", bio.Wr, 0o644)
| `std.Ok bio: f = bio
| `std.Err m: std.fatal("Unable to open data file: {}", m)