summaryrefslogtreecommitdiff
path: root/source4/selftest
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-09-13 01:09:16 +0200
committerJelmer Vernooij <jelmer@samba.org>2011-09-13 02:24:03 +0200
commitb4c4a2d0f95166a8c3c01b8837103630fdea8c3f (patch)
tree988d7dc98b306d65fbf26eebb7aa2a14ac2ac6ff /source4/selftest
parent762102f05443165577495afc0f15c7a83d78b503 (diff)
downloadsamba-b4c4a2d0f95166a8c3c01b8837103630fdea8c3f.tar.gz
samba-b4c4a2d0f95166a8c3c01b8837103630fdea8c3f.tar.bz2
samba-b4c4a2d0f95166a8c3c01b8837103630fdea8c3f.zip
Add samba.tests.source, which checks Python files for copyright lines, license headers and invalid characters (dos newlines, tabs).
Diffstat (limited to 'source4/selftest')
-rwxr-xr-xsource4/selftest/tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py
index f64a803a78..1e78374d49 100755
--- a/source4/selftest/tests.py
+++ b/source4/selftest/tests.py
@@ -292,6 +292,7 @@ for f in sorted(os.listdir(os.path.join(samba4srcdir, "../pidl/tests"))):
# work correctly.
planpythontestsuite("none", "samba.tests.blackbox.ndrdump")
+planpythontestsuite("none", "samba.tests.source")
plantestsuite("samba4.blackbox.samba_tool(dc:local)", "dc:local", [os.path.join(samba4srcdir, "utils/tests/test_samba_tool.sh"), '$SERVER', "$USERNAME", "$PASSWORD", "$DOMAIN"])
plantestsuite("samba4.blackbox.pkinit(dc:local)", "dc:local", [os.path.join(bbdir, "test_pkinit.sh"), '$SERVER', '$USERNAME', '$PASSWORD', '$REALM', '$DOMAIN', '$PREFIX', "aes256-cts-hmac-sha1-96", configuration])
plantestsuite("samba4.blackbox.kinit(dc:local)", "dc:local", [os.path.join(bbdir, "test_kinit.sh"), '$SERVER', '$USERNAME', '$PASSWORD', '$REALM', '$DOMAIN', '$PREFIX', "aes256-cts-hmac-sha1-96", configuration])