Skip to content

Commit

Permalink
* posix/bug-regex13.c (tests): Add new test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Roland McGrath committed Nov 8, 2002
1 parent e8c1660 commit 2b49744
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
2002-11-08 Jakub Jelinek <jakub@redhat.com>

* posix/bug-regex13.c (tests): Add new test.

* string/test-strchr.c (stupid_strchr): New function.
(do_random_tests): Make sure the string is zero terminated.
* string/test-strpbrk.c (stupid_strpbrk): New function.
Expand Down
1 change: 1 addition & 0 deletions posix/bug-regex13.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ static struct
} tests[] = {
{RE_BACKSLASH_ESCAPE_IN_LISTS, "[0\\-9]", "1", -1}, /* It should not match. */
{RE_BACKSLASH_ESCAPE_IN_LISTS, "[0\\-9]", "-", 0}, /* It should match. */
{RE_SYNTAX_POSIX_BASIC, "s1\n.*\ns3", "s1\ns2\ns3", 0}
};

int
Expand Down

0 comments on commit 2b49744

Please sign in to comment.