diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-05-29 18:17:42 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-05-29 18:17:42 +0200 |
commit | 3d2c9e49a5c83558c5d8d008b948f7cff74d0775 (patch) | |
tree | 336e25441ce09ffaffb0d3241b044bb0b1e833e6 /source4/selftest | |
parent | 6f7b2b69333230016a9538b024faec0d97095c69 (diff) | |
download | samba-3d2c9e49a5c83558c5d8d008b948f7cff74d0775.tar.gz samba-3d2c9e49a5c83558c5d8d008b948f7cff74d0775.tar.bz2 samba-3d2c9e49a5c83558c5d8d008b948f7cff74d0775.zip |
Allow full-line comments in include/exclude files.
(This used to be commit 4095f3c358a39d9eb8a1bcef52e49d44ea8fbd2a)
Diffstat (limited to 'source4/selftest')
-rwxr-xr-x | source4/selftest/selftest.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/selftest/selftest.pl b/source4/selftest/selftest.pl index 5854a94b8d..e86ccbe468 100755 --- a/source4/selftest/selftest.pl +++ b/source4/selftest/selftest.pl @@ -499,6 +499,7 @@ sub read_test_regexes($) open(LF, "<$name") or die("unable to read $name: $!"); while (<LF>) { chomp; + next if (/^#/); if (/^(.*?)([ \t]+)\#([\t ]*)(.*?)$/) { push (@ret, [$1, $4]); } else { |