wasi-testsuite
wasi-testsuite copied to clipboard
Assert error on ambiguous fstflags
This commit adds a Rust test case that asserts an ambiguous fstflags input to fd_filestat_set_times should result in inval errno. An fstflags argument is ambiguous if:
- both
atimandatim_noware set, or - both
mtimandmtim_noware set.
This assertion is consistent with Wasmtime and WasmEdge's current behavior.