1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-09-16 03:36:18 +00:00

Merge pull request #3949 from niyaznigmatullin/cp-i_gnu_test

cp: fix `cp-i` GNU test
This commit is contained in:
Sylvestre Ledru 2022-09-18 22:06:12 +02:00 committed by GitHub
commit a857002def
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View file

@ -204,6 +204,8 @@ fn test_cp_arg_interactive() {
.arg("-i")
.pipe_in("N\n")
.succeeds()
.no_stdout()
.stderr_contains(format!("overwrite '{}'?", TEST_HOW_ARE_YOU_SOURCE))
.stderr_contains("Not overwriting");
}