1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

Merge pull request #4265 from sylvestre/add_test_test

test: add a test matching what busybox is doing
This commit is contained in:
Terts Diepraam 2023-01-22 23:42:54 +01:00 committed by GitHub
commit 8c35465e03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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() {