Re-port filesystem commands (#4387)

* Re-port the filesystem commands

* Remove commented out section
This commit is contained in:
JT
2022-02-09 09:56:27 -05:00
committed by GitHub
parent 94ab981235
commit 43850bf20e
9 changed files with 494 additions and 391 deletions

View File

@ -121,8 +121,6 @@ fn removes_directory_contents_with_recursive_flag() {
})
}
// FIXME: jt: needs more work
#[ignore]
#[test]
fn errors_if_attempting_to_delete_a_directory_with_content_without_recursive_flag() {
Playground::setup("rm_test_6", |dirs, sandbox| {
@ -137,8 +135,6 @@ fn errors_if_attempting_to_delete_a_directory_with_content_without_recursive_fla
})
}
// FIXME: jt: needs more work
#[ignore]
#[test]
fn errors_if_attempting_to_delete_single_dot_as_argument() {
Playground::setup("rm_test_7", |dirs, _| {
@ -151,8 +147,6 @@ fn errors_if_attempting_to_delete_single_dot_as_argument() {
})
}
// FIXME: jt: needs more work
#[ignore]
#[test]
fn errors_if_attempting_to_delete_two_dot_as_argument() {
Playground::setup("rm_test_8", |dirs, _| {
@ -283,8 +277,6 @@ fn no_errors_if_attempting_to_delete_non_existent_file_with_f_flag() {
})
}
// FIXME: jt: needs more work
#[ignore]
#[test]
fn rm_wildcard_keeps_dotfiles() {
Playground::setup("rm_test_15", |dirs, sandbox| {