summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/pidl/tests/ndr_align.pl10
-rwxr-xr-xsource4/pidl/tests/ndr_tagtype.pl6
2 files changed, 8 insertions, 8 deletions
diff --git a/source4/pidl/tests/ndr_align.pl b/source4/pidl/tests/ndr_align.pl
index 405b74597c..0824acc501 100755
--- a/source4/pidl/tests/ndr_align.pl
+++ b/source4/pidl/tests/ndr_align.pl
@@ -29,7 +29,7 @@ test_samba4_ndr('align-uint8-uint16',
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;
');
@@ -54,7 +54,7 @@ test_samba4_ndr('align-uint8-uint32',
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;
');
@@ -81,7 +81,7 @@ test_samba4_ndr('align-uint8-hyper',
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;
');
@@ -108,7 +108,7 @@ test_samba4_ndr('noalignflag-uint8-uint16',
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;
');
@@ -138,6 +138,6 @@ test_samba4_ndr('align-blob-align2',
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;
');
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;
');