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

mv: fix failing tests

This commit is contained in:
Roy Ivy III 2018-09-22 23:30:24 -05:00 committed by Roy Ivy III
parent 6f75331bf4
commit e00d586af1
2 changed files with 28 additions and 2 deletions

View file

@ -368,8 +368,7 @@ fn test_mv_errors() {
// $ mv -T -t a b
// mv: cannot combine --target-directory (-t) and --no-target-directory (-T)
scene.ucmd().arg("-T").arg("-t").arg(dir).arg(file_a).arg(file_b).fails()
.stderr_is("mv: error: cannot combine --target-directory (-t) and --no-target-directory \
(-T)\n");
.stderr_is("mv: error: cannot combine --target-directory (-t) and --no-target-directory (-T)\n");
// $ at.touch file && at.mkdir dir
// $ mv -T file dir