Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

mkdir#64

Merged
willemneal merged 40 commits intoWebAssemblyOS:wasmos/ashfrom
gwangjincho:dev-ash
May 19, 2019
Merged

mkdir#64
willemneal merged 40 commits intoWebAssemblyOS:wasmos/ashfrom
gwangjincho:dev-ash

Conversation

@gwangjincho
Copy link

fixes #61

willemneal and others added 30 commits April 24, 2019 12:10
But fail to compile with old interface
Forgot to supply type arguments.
Moved classes to their own files/folders.
Changed name to better describe the test fixture class.
mkdir
Also path passes more tests
Also updated types and added error handling for reading and writing to a file.
Also can delete files and folders.  Need to parse json to create test directory.
And more documentation for types.
[skip ci]
Also can import fs structure from a json string.
Add error checking and more tests.
Now tests don't need to import globals.
willemneal and others added 7 commits May 14, 2019 11:49
- Added test in echo for reading env variables
- finished reorganizing mock classes into separate files
Also added Environ class to the global scope.
* Fix bug with how files and strings are terminated

Now readString and readLine will return null if reading a terminating char like EOF.

* Fixed Seek END to be relative to size not length
* Added WasiResult to globals in tests

* Fixed off by one error for reading and writing

When reading a string new offset included NUL.
Writing also included a null, which it shouldn't.
@willemneal
Copy link
Contributor

I updated this branch for you so that it's caught up to master. Just need to add the -p argument and I think your done.

Copy link
Contributor

@willemneal willemneal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@willemneal willemneal merged commit 735ff11 into WebAssemblyOS:wasmos/ash May 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants