summaryrefslogtreecommitdiff
path: root/source4/pidl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-02-09 09:44:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:44:55 -0500
commitb619e959c9c8d5a17e882d8b8316a97ec860245b (patch)
treed7bf4eb5f13aae44ef2edc6c91bb74cd379fe18e /source4/pidl
parent8de4c33d8f089f2f47817278f8781f194da898d0 (diff)
downloadsamba-b619e959c9c8d5a17e882d8b8316a97ec860245b.tar.gz
samba-b619e959c9c8d5a17e882d8b8316a97ec860245b.tar.bz2
samba-b619e959c9c8d5a17e882d8b8316a97ec860245b.zip
r21260: Fix regex.
(This used to be commit 025597a3593d9dede93180d284beda256caf9483)
Diffstat (limited to 'source4/pidl')
-rwxr-xr-xsource4/pidl/tests/header.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/pidl/tests/header.pl b/source4/pidl/tests/header.pl
index 9271c57c4c..b7c0b285f3 100755
--- a/source4/pidl/tests/header.pl
+++ b/source4/pidl/tests/header.pl
@@ -19,7 +19,7 @@ sub parse_idl($)
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");