Sitelet https://github.com/moby/sys/pull/33
Skip to content

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

Closed
thaJeztah wants to merge 1 commit into
moby:masterfrom
thaJeztah:mountinfo_quotes
Closed

thaJeztah wants to merge 1 commit into
moby:masterfrom
thaJeztah:mountinfo_quotes

Conversation

@thaJeztah

@thaJeztah thaJeztah commented Sep 22, 2020 •

Copy link
Copy Markdown
Member

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
Copy Markdown
Member Author

@kolyshkin @AkihiroSuda PTAL

@kolyshkin

Copy link
Copy Markdown
Collaborator

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

@kolyshkin

Copy link
Copy Markdown
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