]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: optstr: test redundant commas
authorCole Robinson <crobinso@redhat.com>
Fri, 17 Oct 2025 15:11:38 +0000 (11:11 -0400)
committerCole Robinson <crobinso@redhat.com>
Fri, 17 Oct 2025 15:11:38 +0000 (11:11 -0400)
commit468b97554107a9be2d43bdce9ee12862b1520e2f
tree420d9a864223992e77849df70ef874e5d3a02919
parent7f0f877672b7189f20a2429b323ddd475e5d8acd
tests: optstr: test redundant commas

optstr, used for parsing mount option lists, eats leading,
trailing, and duplicated commas, but I can't find any test coverage
for that behavior.

Amend the existing optstr test to hit all the cases I can think of

Signed-off-by: Cole Robinson <crobinso@redhat.com>
tests/ts/misc/optstr