Skip to content

cp: improve the backup support#13505

Open
sylvestre wants to merge 2 commits into
uutils:mainfrom
sylvestre:backup-control-no-unsafe
Open

cp: improve the backup support#13505
sylvestre wants to merge 2 commits into
uutils:mainfrom
sylvestre:backup-control-no-unsafe

Conversation

@sylvestre

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

Copy link
Copy Markdown

GNU testsuite comparison:

GNU test failed: tests/cp/preserve-mode. tests/cp/preserve-mode is passing on 'main'. Maybe you have to rebase?
GNU test failed: tests/misc/selinux. tests/misc/selinux is passing on 'main'. Maybe you have to rebase?
Skip an intermittent issue tests/tail/tail-n0f (fails in this run but passes in the 'main' branch)
Congrats! The gnu test tests/tail/pid is no longer failing!

cp-error-failed-to-create-whole-tree = failed to create whole tree
cp-error-failed-to-create-directory = Failed to create directory: { $error }
cp-error-backup-format = cp: { $error }
Try '{ $exec } --help' for more information.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Try '{ $exec } --help' for more information.

cp-error-failed-to-create-whole-tree = échec de la création de l'arborescence complète
cp-error-failed-to-create-directory = Échec de la création du répertoire : { $error }
cp-error-backup-format = cp : { $error }
Tentez '{ $exec } --help' pour plus d'informations.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Tentez '{ $exec } --help' pour plus d'informations.

Comment thread tests/by-util/test_cp.rs

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it the expected behavior that only two of the tests, those ending with name_once, fail when I run them without applying your other changes?

Comment thread tests/by-util/test_cp.rs
Comment on lines +1382 to +1384
// The VERSION_CONTROL variable selects the backup type when the command line
// does not. These run the real binary so the variable is set on the child
// process, which is the only safe way to test it.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand what the second sentence is trying to say.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants