public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Add one regex testcase
@ 2002-11-08 14:24 Jakub Jelinek
  2002-11-08 14:38 ` Roland McGrath
  0 siblings, 1 reply; 2+ messages in thread
From: Jakub Jelinek @ 2002-11-08 14:24 UTC (permalink / raw)
  To: Roland McGrath; +Cc: Glibc hackers

Hi!

This test was failing in CVS checkout from September, 3rd, seems to
be fixed now. It certainly doesn't hurt to make sure the bug won't
come up again...

2002-11-08  Jakub Jelinek  <jakub@redhat.com>

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

--- libc/posix/bug-regex13.c.jj	2002-10-21 20:16:31.000000000 +0200
+++ libc/posix/bug-regex13.c	2002-11-08 23:34:08.000000000 +0100
@@ -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

	Jakub

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Add one regex testcase
  2002-11-08 14:24 [PATCH] Add one regex testcase Jakub Jelinek
@ 2002-11-08 14:38 ` Roland McGrath
  0 siblings, 0 replies; 2+ messages in thread
From: Roland McGrath @ 2002-11-08 14:38 UTC (permalink / raw)
  To: Jakub Jelinek; +Cc: Glibc hackers

> This test was failing in CVS checkout from September, 3rd, seems to
> be fixed now. It certainly doesn't hurt to make sure the bug won't
> come up again...

Certainly so.  I think we have been trying to put every failing case into a
test program, and we should certainly try not to miss any future cases that
show up.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-11-08 22:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-08 14:24 [PATCH] Add one regex testcase Jakub Jelinek
2002-11-08 14:38 ` Roland McGrath

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).