s4:torture/smb2: remove samba specific stuff from smb2.oplock
authorStefan Metzmacher <metze@samba.org>
Wed, 26 Sep 2012 01:08:33 +0000 (03:08 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 26 Sep 2012 04:16:06 +0000 (06:16 +0200)
metze

source4/torture/smb2/oplock.c

index fc939cc06d827af4f98dd4a94312110422c57a65..4cf7c7d72ffe32b3738840a59650ac10b409659c 100644 (file)
@@ -2416,10 +2416,6 @@ static bool test_smb2_oplock_batch22(struct torture_context *tctx,
        int timeout = torture_setting_int(tctx, "oplocktimeout", 30);
        int te;
 
-       if (torture_setting_bool(tctx, "samba3", false)) {
-               torture_skip(tctx, "BATCH22 disabled against samba3\n");
-       }
-
        status = torture_smb2_testdir(tree1, BASEDIR, &h);
        torture_assert_ntstatus_ok(tctx, status, "Error creating directory");
 
@@ -2759,12 +2755,6 @@ static bool test_raw_oplock_stream1(struct torture_context *tctx,
                {&fname_default_stream, true,  SMB2_OPLOCK_LEVEL_EXCLUSIVE, SMB2_OPLOCK_LEVEL_II},
        };
 
-       /* Only passes against windows at the moment. */
-       if (torture_setting_bool(tctx, "samba3", false) ||
-           torture_setting_bool(tctx, "samba4", false)) {
-               torture_skip(tctx, "STREAM1 disabled against samba3+4\n");
-       }
-
        fname_stream = talloc_asprintf(tctx, "%s:%s", fname_base, stream);
        fname_default_stream = talloc_asprintf(tctx, "%s%s", fname_base,
                                               default_stream);