s3-selftst Add encrypted CIFS testing with kerberos
authorAndrew Bartlett <abartlet@samba.org>
Sun, 8 Jan 2012 23:49:49 +0000 (10:49 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 8 Jan 2012 23:56:28 +0000 (10:56 +1100)
source3/selftest/tests.py

index 33a2410e9201840a5c732dadc11959a4b48356bf..86fc8d11b2502b6d0e5da56ff0ecd1c18c247e1e 100755 (executable)
@@ -305,15 +305,17 @@ for z in smb_options:
 
 
 if have_ads_support:
-    plantestsuite("samba3.blackbox.smbclient_krb5 with old ccache", "ktest:local", 
-                  [os.path.join(samba3srcdir, "script/tests/test_smbclient_krb5.sh"),
-                   "$PREFIX/ktest/krb5_ccache-2", 
-                   binpath('smbclient3'), "$SERVER", configuration])
-
-    plantestsuite("samba3.blackbox.smbclient_krb5", "ktest:local", 
-                  [os.path.join(samba3srcdir, "script/tests/test_smbclient_krb5.sh"),
-                   "$PREFIX/ktest/krb5_ccache-3", 
-                   binpath('smbclient3'), "$SERVER", configuration])
+    options_list = ["", "-E"]
+    for options in options_list:
+        plantestsuite("samba3.blackbox.smbclient_krb5 old ccache %s" % options, "ktest:local", 
+                      [os.path.join(samba3srcdir, "script/tests/test_smbclient_krb5.sh"),
+                       "$PREFIX/ktest/krb5_ccache-2", 
+                       binpath('smbclient3'), "$SERVER", options, configuration])
+
+        plantestsuite("samba3.blackbox.smbclient_krb5 %s" % options, "ktest:local", 
+                      [os.path.join(samba3srcdir, "script/tests/test_smbclient_krb5.sh"),
+                       "$PREFIX/ktest/krb5_ccache-3", 
+                       binpath('smbclient3'), "$SERVER", options, configuration])
 
 for e in endianness_options:
     for a in auth_options: