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

mountinfo: add test-cases for double quotes in Linux Mountinfo #33

Closed
wants to merge 1 commit into from

Conversation

thaJeztah
Copy link
Member

@thaJeztah thaJeztah commented Sep 22, 2020

This adds tests for handling paths containing double quotes, and is the equivalent of the tests added in containerd/containerd#4325

This adds tests for handling paths containing double quotes, and
is the equivalent of the tests added in containerd/containerd#4325

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah changed the title mountinfo: cope with double quotes in Linux Mountinfo mountinfo: add test-cases for double quotes in Linux Mountinfo Sep 22, 2020
@thaJeztah thaJeztah marked this pull request as ready for review September 22, 2020 09:35
@thaJeztah
Copy link
Member Author

@kolyshkin @AkihiroSuda PTAL

@kolyshkin
Copy link
Collaborator

Not sure we need it. Technically, all this is already covered by TestUnescape (see #16).

@kolyshkin
Copy link
Collaborator

As I suggested in containerd/containerd#4325 (comment) I'd rather have unit tests in such case -- and the "unit" here is the unescape function.

@thaJeztah thaJeztah closed this Oct 1, 2020
@thaJeztah thaJeztah deleted the mountinfo_quotes branch October 1, 2020 21:26
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