mirror of
https://github.com/uutils/coreutils
synced 2024-10-03 06:24:47 +00:00
Adds a test for sync.
It is probably too hard to verify that the sync is actually performed, so we just check that we have a test using the code path, pro forma. Signed-off-by: anastygnome <noreplygitemail@protonmail.com>
This commit is contained in:
parent
54590c0507
commit
f5ae859c38
|
@ -28,6 +28,11 @@ fn test_df_compatible_si() {
|
|||
new_ucmd!().arg("-aH").succeeds();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_df_compatible_sync() {
|
||||
new_ucmd!().arg("--sync").succeeds();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_df_arguments_override_themselves() {
|
||||
new_ucmd!().args(&["--help", "--help"]).succeeds();
|
||||
|
|
Loading…
Reference in a new issue