Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ln: pass tests/ln/backup-1.sh & improvement in the error messages #3346

Merged
merged 5 commits into from
Apr 1, 2022

Conversation

sylvestre
Copy link
Contributor

@sylvestre sylvestre commented Mar 31, 2022

To make sure that the following works

echo "a" > a
echo "b2" > b
ln b b~
ln -f --b=simple a b

When doing
ln b b~
ln -f --b=simple a b

First, we create a backup of b
Then, we force the override of a => b but we make sure that the backup is
done.

So, we had a bug in the ordering of the actions.
we were first removing b. Therefore, losing the capability to do a backup of this.
@sylvestre
Copy link
Contributor Author

Warning: Congrats! The gnu test tests/ln/backup-1 is no longer failing!

@tertsdiepraam tertsdiepraam merged commit 546dcf7 into uutils:main Apr 1, 2022
@sylvestre sylvestre deleted the ln branch April 1, 2022 11:51
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