mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +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() {
|
fn test_cp_arg_update_older_dest_not_older_than_src() {
|
||||||
let (at, mut ucmd) = at_and_ucmd!();
|
let (at, mut ucmd) = at_and_ucmd!();
|
||||||
|
|
||||||
let old = "test_cp_arg_update_oldler_file1";
|
let old = "test_cp_arg_update_older_file1";
|
||||||
let new = "test_cp_arg_update_oldler_file2";
|
let new = "test_cp_arg_update_older_file2";
|
||||||
|
|
||||||
at.touch(old);
|
at.touch(old);
|
||||||
sleep(Duration::from_secs(1));
|
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() {
|
fn test_cp_arg_update_older_dest_older_than_src() {
|
||||||
let (at, mut ucmd) = at_and_ucmd!();
|
let (at, mut ucmd) = at_and_ucmd!();
|
||||||
|
|
||||||
let old = "test_cp_arg_update_oldler_file1";
|
let old = "test_cp_arg_update_older_file1";
|
||||||
let new = "test_cp_arg_update_oldler_file2";
|
let new = "test_cp_arg_update_older_file2";
|
||||||
|
|
||||||
at.touch(old);
|
at.touch(old);
|
||||||
at.append(old, "old content\n");
|
at.append(old, "old content\n");
|
||||||
|
@ -327,8 +327,8 @@ fn test_cp_arg_update_short_fail() {
|
||||||
// same as --update=older
|
// same as --update=older
|
||||||
let (at, mut ucmd) = at_and_ucmd!();
|
let (at, mut ucmd) = at_and_ucmd!();
|
||||||
|
|
||||||
let old = "test_cp_arg_update_oldler_file1";
|
let old = "test_cp_arg_update_older_file1";
|
||||||
let new = "test_cp_arg_update_oldler_file2";
|
let new = "test_cp_arg_update_older_file2";
|
||||||
|
|
||||||
at.touch(old);
|
at.touch(old);
|
||||||
sleep(Duration::from_secs(1));
|
sleep(Duration::from_secs(1));
|
||||||
|
@ -352,8 +352,8 @@ fn test_cp_arg_update_short_succeed() {
|
||||||
// same as --update=older
|
// same as --update=older
|
||||||
let (at, mut ucmd) = at_and_ucmd!();
|
let (at, mut ucmd) = at_and_ucmd!();
|
||||||
|
|
||||||
let old = "test_cp_arg_update_oldler_file1";
|
let old = "test_cp_arg_update_older_file1";
|
||||||
let new = "test_cp_arg_update_oldler_file2";
|
let new = "test_cp_arg_update_older_file2";
|
||||||
|
|
||||||
at.touch(old);
|
at.touch(old);
|
||||||
at.touch(new);
|
at.touch(new);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue