Correct an assertion in the testsuite.
authorAndrew Bartlett <abartlet@samba.org>
Wed, 21 May 2008 04:49:47 +0000 (14:49 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 21 May 2008 04:49:47 +0000 (14:49 +1000)
Andrew Bartlett
(This used to be commit c3eeae2ea6a7562b43a436f20c110002ca4d1d2b)

source4/torture/nbt/dgram.c

index f8f9eaf884f6c670ef5d87d0bd5744e29cb2ada6..887c6f32ab54b393f1c9cd01653eb731b06231b4 100644 (file)
@@ -246,7 +246,7 @@ static bool nbt_test_netlogon2(struct torture_context *tctx)
        map_netlogon_samlogon_response(&response->samlogon);
 
        torture_assert_int_equal(tctx, response->samlogon.nt5_ex.command, LOGON_SAM_LOGON_RESPONSE_EX, "Got incorrect netlogon response command");
-       torture_assert_int_equal(tctx, response->samlogon.nt5_ex.nt_version, NETLOGON_NT_VERSION_5EX_WITH_IP|NETLOGON_NT_VERSION_5EX|NETLOGON_NT_VERSION_5|NETLOGON_NT_VERSION_1, "Got incorrect netlogon response command");
+       torture_assert_int_equal(tctx, response->samlogon.nt5_ex.nt_version, NETLOGON_NT_VERSION_5EX_WITH_IP|NETLOGON_NT_VERSION_5EX|NETLOGON_NT_VERSION_1, "Got incorrect netlogon response command");
 
        /* setup (another) temporary mailslot listener for replies */
        dgmslot = dgram_mailslot_temp(dgmsock, NBT_MAILSLOT_GETDC,