From 3d2c9e49a5c83558c5d8d008b948f7cff74d0775 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 29 May 2008 18:17:42 +0200 Subject: Allow full-line comments in include/exclude files. (This used to be commit 4095f3c358a39d9eb8a1bcef52e49d44ea8fbd2a) --- source4/selftest/selftest.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/selftest') 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 () { chomp; + next if (/^#/); if (/^(.*?)([ \t]+)\#([\t ]*)(.*?)$/) { push (@ret, [$1, $4]); } else { -- cgit