Skip to content

Commit

Permalink
Merge pull request #4265 from sylvestre/add_test_test
Browse files Browse the repository at this point in the history
test: add a test matching what busybox is doing
  • Loading branch information
tertsdiepraam authored Jan 22, 2023
2 parents 2df4aac + b9e9720 commit 8c35465
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/by-util/test_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -835,6 +835,15 @@ fn test_or_as_filename() {
new_ucmd!().args(&["x", "-a", "-z", "-o"]).run().code_is(1);
}

#[test]
#[ignore = "TODO: Busybox has this working"]
fn test_filename_or_with_equal() {
new_ucmd!()
.args(&["-f", "=", "a", "-o", "b"])
.run()
.code_is(0);
}

#[test]
#[ignore = "GNU considers this an error"]
fn test_string_length_and_nothing() {
Expand Down

0 comments on commit 8c35465

Please sign in to comment.