Skip to content

Commit ccd6baa

Browse files
committed
tests: posix: lib: src: fnmatch: fixed #55186
Uncommented posix class test cases in fnmatch tests Signed-off-by: Harun Spago <harun.spago.code@gmail.com>
1 parent 711b804 commit ccd6baa

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/posix/c_lib_ext/src/fnmatch.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
*/
1414
ZTEST(posix_c_lib_ext, test_fnmatch)
1515
{
16-
/* Note: commented out lines indicate known problems to be addressed in #55186 */
17-
1816
zassert_ok(fnmatch("*.c", "foo.c", 0));
1917
zassert_ok(fnmatch("*.c", ".c", 0));
2018
zassert_equal(fnmatch("*.a", "foo.c", 0), FNM_NOMATCH);
@@ -73,7 +71,7 @@ ZTEST(posix_c_lib_ext, test_fnmatch)
7371
zassert_equal(fnmatch("*/*", "a/.b", FNM_PATHNAME | FNM_PERIOD), FNM_NOMATCH);
7472
zassert_ok(fnmatch("*?*/*", "a/.b", FNM_PERIOD));
7573
zassert_ok(fnmatch("*[.]/b", "a./b", FNM_PATHNAME | FNM_PERIOD));
76-
/* zassert_ok(fnmatch("*[[:alpha:]]/""*[[:alnum:]]", "a/b", FNM_PATHNAME)); */
74+
zassert_ok(fnmatch("*[[:alpha:]]/""*[[:alnum:]]", "a/b", FNM_PATHNAME));
7775
zassert_not_equal(fnmatch("*[![:digit:]]*/[![:d-d]", "a/b", FNM_PATHNAME), 0);
7876
zassert_not_equal(fnmatch("*[![:digit:]]*/[[:d-d]", "a/[", FNM_PATHNAME), 0);
7977
zassert_not_equal(fnmatch("*[![:digit:]]*/[![:d-d]", "a/[", FNM_PATHNAME), 0);

0 commit comments

Comments
 (0)