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

Catch up to master#75

Merged
willemneal merged 32 commits intowasmos/ashfrom
master
May 15, 2019
Merged

Catch up to master#75
willemneal merged 32 commits intowasmos/ashfrom
master

Conversation

@willemneal
Copy link
Contributor

No description provided.

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.
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.
- 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 willemneal merged commit 13e0b71 into wasmos/ash May 15, 2019
willemneal added a commit that referenced this pull request May 15, 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.

1 participant