Pat Hickey
47fec44c10
move wasi-c2 into wasi-common
4 years ago
Pat Hickey
dd005208b6
delete wasi-common, yanix, winx
4 years ago
Pat Hickey
d628677fae
move test failures into ignores in build.rs
4 years ago
Pat Hickey
1d057af64d
notes
4 years ago
Pat Hickey
201a888d92
dirty fuckin' dangles boys
fuck you shorsey
4 years ago
Pat Hickey
11b8222033
missed a dangling symlink
4 years ago
Pat Hickey
34ad8df169
dangling directories are a windows thing
4 years ago
Pat Hickey
4801ea04a1
cool
4 years ago
Pat Hickey
0cedc17246
another one bites the dust
4 years ago
Pat Hickey
79e8f17486
bum bum bum
4 years ago
Pat Hickey
dae022b17f
woo
4 years ago
Pat Hickey
1196e216e9
fix macro by denying trailing slashes. also other stuff
4 years ago
Pat Hickey
20e9169cc7
fd_allocate: put meat of test behind a guard
4 years ago
Pat Hickey
f7403acb6f
fd_advise test: set size via fd_filestat_set_size and fd_allocate
4 years ago
Pat Hickey
e758318fee
wire env variables through test runner to TESTCONFIG
4 years ago
Pat Hickey
bbbe168ca1
ctx: i guess we need environment variables!
4 years ago
Pat Hickey
7ffe3c72c5
config is lazy_static to amoritze it
4 years ago
Pat Hickey
6f85abd949
itsp ublished
4 years ago
Pat Hickey
03466d04ce
temporarily use my branch of the wasi crate
4 years ago
Pat Hickey
be108c7a93
will this work for platform-specific errnos? WIP
4 years ago
Pat Hickey
2ae1dee642
convert all errno assertions to assert_errno!
4 years ago
Pat Hickey
4f655001c0
make a macro that automates errno assertions
4 years ago
Pat Hickey
4f2696fedf
more docs
4 years ago
Pat Hickey
cb171712cc
various windows test notes
4 years ago
Pat Hickey
d1160cb9b5
split path rename trailing slash test into files and dirs
files fail on both platform, dirs pass on both! so, same bug!
4 years ago
Pat Hickey
6c0f312a1b
fix bug: i was ignoring the symlink follow flag in path_filestat_{get,
set_times}
4 years ago
Pat Hickey
b2e0597ae3
narrow the bug
4 years ago
Pat Hickey
6fcbd3f15d
split path_filestat test into two, improve variable names
4 years ago
Pat Hickey
220509f3ed
latest system-interface
4 years ago
Pat Hickey
8cd21eed23
elaborate
4 years ago
Pat Hickey
1eb8a8a7fe
integrate GetSetFdFlags!
change reopen_with_fdflags(&self, fdflags) -> Result<Box<dyn WasiFile>>
to set_fdflags(&mut self, fdflags) -> Result<()>.
this makes way more sense than my prior hare-brained schemes.
4 years ago
Pat Hickey
c98d6f6201
fix warning
4 years ago
Pat Hickey
f4a6b95965
notes
4 years ago
Pat Hickey
17f43d4cc3
path_link test: we no longer support symlink following
just assert that setting the symlink following lookupflag gives an
ERRNO_INVAL.
4 years ago
Pat Hickey
fded424e68
Dir::hard_link: dont support symlink following
if we're asked to follow symlinks, give ERRNO_INVAL instead.
4 years ago
Pat Hickey
a993090e30
fix warning
4 years ago
Pat Hickey
42ccb11f15
cap-std is going to use winerror::ERROR_STOPPED_ON_SYMLINK
to communicate eloop on windows
4 years ago
Pat Hickey
8f4fecacdc
interesting paths: loosen up errno requirements
4 years ago
Pat Hickey
b0b263f68e
find a symlink error
4 years ago
Pat Hickey
996d49c81f
nofollow test: permit ACCES as well as LOOP when opening with nofollow
4 years ago
Pat Hickey
144ca2f535
add a test of symlink happy path to isolate the windows failure
4 years ago
Pat Hickey
a8426125d2
kick the can
4 years ago
Pat Hickey
72b207de2e
path_link: some improvements required by windows
* need to close the handle to the subdirectory before its legal to
delete it
* windows doesnt give us a way to distinguish between an ERRNO_PERM and
an ERRNO_ACCES, so lets accept either one
4 years ago
Pat Hickey
2c6bde5ee4
elaborate!
4 years ago
Pat Hickey
7fd3d58b23
enumerate windows test failures, move the file
4 years ago
Pat Hickey
17a82c5b88
table: fix up errnos. trap on internal failures.
4 years ago
Pat Hickey
957c434b67
ErrorExt: trap convenience method
4 years ago
Pat Hickey
634e911a4b
tests: directory seeking is actually prohibited! but the test was wrong
* path_open of a directory without OFLAGS_DIRECTORY worked on linux,
but fortunately not on windows!
* the errno is BADF instead of NOTCAPABLE for fd_seek on a directory
* no way for a directory to have the FD_SEEK right.
4 years ago
Pat Hickey
2b70ea8b91
windows scheduler passes tests
unfortunately this does essentially nothing to convince me of its
correctness
4 years ago
Pat Hickey
19254bfd72
error mapping for windows!
4 years ago