selftest: Disable RODC tests with MIT KDC
authorAndreas Schneider <asn@samba.org>
Tue, 20 Sep 2016 10:43:38 +0000 (12:43 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Sat, 29 Apr 2017 21:31:09 +0000 (23:31 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlet <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
selftest/skip_mit_kdc [new file with mode: 0644]
selftest/wscript

diff --git a/selftest/skip_mit_kdc b/selftest/skip_mit_kdc
new file mode 100644 (file)
index 0000000..b0c9015
--- /dev/null
@@ -0,0 +1,3 @@
+# We do not support RODC yet
+.*rodc
+.*RODC
index 34dd7a0..2299195 100644 (file)
@@ -231,7 +231,7 @@ def cmd_testonly(opt):
     env.OPTIONS += " --use-dns-faking"
 
     if CONFIG_GET(opt, 'USING_SYSTEM_KRB5') and CONFIG_GET(opt, 'MIT_KDC_PATH'):
-        env.OPTIONS += " --mitkrb5"
+        env.OPTIONS += " --mitkrb5 --exclude=${srcdir}/selftest/skip_mit_kdc"
 
     if not CONFIG_GET(opt, 'HAVE_GSS_KRB5_CRED_NO_CI_FLAGS_X'):
         # older MIT krb5 libraries (< 1.14) don't have