s4-becomedc: replicate first with DRS_CRITICAL_ONLY and DRS_GET_ANC objects for the...
[mat/samba.git] / selftest / filter-subunit
index ef3172171e864a1c640f135bc53997567f8362d1..bced14b101cedb00c9e613f2e3243d1a3d506480 100755 (executable)
@@ -1,7 +1,22 @@
 #!/usr/bin/env python
 # Filter a subunit stream
-# Copyright (C) Jelmer Vernooij <jelmer@samba.org>
-# Published under the GNU GPL, v3 or later
+# Copyright (C) 2009-2011 Jelmer Vernooij <jelmer@samba.org>
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+# NOTE: This script is a hack, meant as a placeholder until we can migrate
+# to upstream subunit's filtering tools.
 
 import optparse
 import os
@@ -48,7 +63,7 @@ else:
 if opts.flapping:
        flapping = subunithelper.read_test_regexes(opts.flapping)
 else:
-       flapping = []
+       flapping = {}
 
 statistics = {
        'TESTS_UNEXPECTED_OK': 0,