diff options
author | Andrew Bartlett <abartlet@samba.org> | 2007-07-03 07:28:46 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:58:58 -0500 |
commit | 74b35321dc043188386d0305508b5276a5290d0d (patch) | |
tree | 4d17595654ae150b35b1cee1ff07d531aa2e04e1 /source4/pidl/tests/ndr_tagtype.pl | |
parent | 1e1a60aa7b837b543fe75c0caf00e2eeb0f0a12d (diff) | |
download | samba-74b35321dc043188386d0305508b5276a5290d0d.tar.gz samba-74b35321dc043188386d0305508b5276a5290d0d.tar.bz2 samba-74b35321dc043188386d0305508b5276a5290d0d.zip |
r23677: When I removed data_blob_equal, I clearly didn't test the PIDL code.
Fix these to use the new data_blob_cmp()
Andrew Bartlett
(This used to be commit d2fba8faf03c18f4c79e83d5847e5420377d811b)
Diffstat (limited to 'source4/pidl/tests/ndr_tagtype.pl')
-rwxr-xr-x | source4/pidl/tests/ndr_tagtype.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/pidl/tests/ndr_tagtype.pl b/source4/pidl/tests/ndr_tagtype.pl index d7839426d5..f8250a90ef 100755 --- a/source4/pidl/tests/ndr_tagtype.pl +++ b/source4/pidl/tests/ndr_tagtype.pl @@ -22,7 +22,7 @@ test_samba4_ndr('struct-notypedef', '[public] struct bla { uint8 x; }; ', result_blob = ndr_push_blob(ndr); - if (!data_blob_equal(&result_blob, &expected_blob)) + if (data_blob_cmp(&result_blob, &expected_blob) != 0) return 2; '); @@ -41,7 +41,7 @@ test_samba4_ndr('struct-notypedef-used', '[public] struct bla { uint8 x; }; result_blob = ndr_push_blob(ndr); - if (!data_blob_equal(&result_blob, &expected_blob)) + if (data_blob_cmp(&result_blob, &expected_blob) != 0) return 2; '); @@ -61,6 +61,6 @@ test_samba4_ndr('struct-notypedef-embedded', 'struct bla { uint8 x; }; result_blob = ndr_push_blob(ndr); - if (!data_blob_equal(&result_blob, &expected_blob)) + if (data_blob_cmp(&result_blob, &expected_blob) != 0) return 2; '); |