]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
selftest: Exclude SMB1 tests that would fail when SMB1 is disabled
authorNoel Power <noel.power@suse.com>
Tue, 22 Oct 2019 21:57:36 +0000 (22:57 +0100)
committerRalph Boehme <slow@samba.org>
Fri, 3 Apr 2020 15:08:26 +0000 (15:08 +0000)
Exclude the tests specified in the file 'skip_smb1_fails' which
contains the list of tests that would fail if min protocol >= SMB2_02

Note: a subsequent commit will change the default min protocol so
      in order to maintain bisectability we skip the tests before
      we change the default.

Signed-off-by: Noel Power <npower@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
selftest/wscript

index 57057be176e13947154a1063bdf67400dab23244..4bb4ead2a3523c9f41a665407eca92a310b832cc 100644 (file)
@@ -182,6 +182,9 @@ def cmd_testonly(opt):
     else:
         env.FILTER_OPTIONS = '${FILTER_XFAIL}'
 
+    # Maybe this should be optional
+    env.OPTIONS += ' --exclude=${srcdir}/selftest/skip_smb1_fails'
+
     if Options.options.VALGRIND:
         os.environ['VALGRIND'] = 'valgrind -q --num-callers=30'
         if Options.options.VALGRINDLOG is not None: