Rev 11408: Fix regex. in file:///home/jelmer/bzr.samba/SAMBA_4_0/
Jelmer Vernooij
jelmer at samba.org
Fri Feb 9 09:34:08 GMT 2007
At file:///home/jelmer/bzr.samba/SAMBA_4_0/
------------------------------------------------------------
revno: 11408
revision-id: jelmer at samba.org-20070209093351-buzkh0t55nt863gw
parent: svn-v2:21256 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-branches%2fSAMBA_4_0
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: SAMBA_4_0
timestamp: Fri 2007-02-09 10:33:51 +0100
message:
Fix regex.
modified:
source/pidl/tests/header.pl svn-v2:21253 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-branches%2fSAMBA_4_0-source%2fpidl%2ftests%2fheader.pl
=== modified file 'source/pidl/tests/header.pl'
--- a/source/pidl/tests/header.pl 2007-02-09 00:18:06 +0000
+++ b/source/pidl/tests/header.pl 2007-02-09 09:33:51 +0000
@@ -19,7 +19,7 @@
return Parse::Pidl::Samba4::Header::Parse($idl);
}
-like(parse_idl(""), qr/\/\* header auto-generated by pidl \*\n\//sm, "includes work");
+like(parse_idl(""), qr/\/\* header auto-generated by pidl \*\/\n/sm, "includes work");
like(parse_idl("interface x {}"), qr/\/\* header auto-generated by pidl \*\/\n/sm, "simple empty interface doesn't cause overhead");
like(parse_idl("interface p { typedef struct { int y; } x; };"),
qr/.*#ifndef _HEADER_p\n#define _HEADER_p\n.+\n#endif \/\* _HEADER_p \*\/.*/ms, "ifdefs are created");
More information about the samba-cvs
mailing list