mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 06:42:42 +00:00
cp: fix typos
This commit is contained in:
parent
6625cfe88a
commit
66a9169e55
1 changed files with 8 additions and 8 deletions
|
@ -279,8 +279,8 @@ fn test_cp_arg_update_all() {
|
|||
fn test_cp_arg_update_older_dest_not_older_than_src() {
|
||||
let (at, mut ucmd) = at_and_ucmd!();
|
||||
|
||||
let old = "test_cp_arg_update_oldler_file1";
|
||||
let new = "test_cp_arg_update_oldler_file2";
|
||||
let old = "test_cp_arg_update_older_file1";
|
||||
let new = "test_cp_arg_update_older_file2";
|
||||
|
||||
at.touch(old);
|
||||
sleep(Duration::from_secs(1));
|
||||
|
@ -303,8 +303,8 @@ fn test_cp_arg_update_older_dest_not_older_than_src() {
|
|||
fn test_cp_arg_update_older_dest_older_than_src() {
|
||||
let (at, mut ucmd) = at_and_ucmd!();
|
||||
|
||||
let old = "test_cp_arg_update_oldler_file1";
|
||||
let new = "test_cp_arg_update_oldler_file2";
|
||||
let old = "test_cp_arg_update_older_file1";
|
||||
let new = "test_cp_arg_update_older_file2";
|
||||
|
||||
at.touch(old);
|
||||
at.append(old, "old content\n");
|
||||
|
@ -327,8 +327,8 @@ fn test_cp_arg_update_short_fail() {
|
|||
// same as --update=older
|
||||
let (at, mut ucmd) = at_and_ucmd!();
|
||||
|
||||
let old = "test_cp_arg_update_oldler_file1";
|
||||
let new = "test_cp_arg_update_oldler_file2";
|
||||
let old = "test_cp_arg_update_older_file1";
|
||||
let new = "test_cp_arg_update_older_file2";
|
||||
|
||||
at.touch(old);
|
||||
sleep(Duration::from_secs(1));
|
||||
|
@ -352,8 +352,8 @@ fn test_cp_arg_update_short_succeed() {
|
|||
// same as --update=older
|
||||
let (at, mut ucmd) = at_and_ucmd!();
|
||||
|
||||
let old = "test_cp_arg_update_oldler_file1";
|
||||
let new = "test_cp_arg_update_oldler_file2";
|
||||
let old = "test_cp_arg_update_older_file1";
|
||||
let new = "test_cp_arg_update_older_file2";
|
||||
|
||||
at.touch(old);
|
||||
at.touch(new);
|
||||
|
|
Loading…
Reference in a new issue