Browse Source

Move dangling_fd test case into test-programs (#590)

* Move dangling_fd test case in test-programs

* Fix build errors
pull/601/head
Jakub Konka 5 years ago
committed by GitHub
parent
commit
7d7360b32d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      crates/test-programs/wasi-tests/src/bin/dangling_fd.rs

6
crates/wasi-common/wasi-misc-tests/src/bin/dangling_fd.rs → crates/test-programs/wasi-tests/src/bin/dangling_fd.rs

@ -1,9 +1,9 @@
use more_asserts::assert_gt;
use std::{env, process};
use wasi::wasi_unstable;
use wasi_misc_tests::open_scratch_directory;
use wasi_misc_tests::utils::{cleanup_dir, cleanup_file, create_dir, create_file};
use wasi_misc_tests::wasi_wrappers::wasi_path_open;
use wasi_tests::open_scratch_directory;
use wasi_tests::utils::{cleanup_dir, cleanup_file, create_dir, create_file};
use wasi_tests::wasi_wrappers::wasi_path_open;
unsafe fn create_or_open(
dir_fd: wasi_unstable::Fd,
Loading…
Cancel
Save