Ignore:
Timestamp:
Nov 24, 2016, 1:14:11 PM (9 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to version 4.4.3

Location:
vendor/current/pidl/tests
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/pidl/tests/Util.pm

    r740 r988  
    119119        my $outfile;
    120120        if (defined($test_data_prefix)) {
    121                 $outfile = "$test_data_prefix/test-$name";     
     121                $outfile = "$test_data_prefix/test-$name";
    122122        } else {
    123123                $outfile = "./test-$name";
  • vendor/current/pidl/tests/samba-ndr.pl

    r740 r988  
    222222                        ALIGN => 4,
    223223                        ELEMENTS => [ ]}, "ndr", "x");
    224 is($generator->{res}, "if (ndr_flags & NDR_SCALARS) {
     224is($generator->{res}, "NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
     225if (ndr_flags & NDR_SCALARS) {
    225226        NDR_CHECK(ndr_push_align(ndr, 4));
    226227        NDR_CHECK(ndr_push_trailer_align(ndr, 4));
     
    246247                        SURROUNDING_ELEMENT => $e,
    247248                        ELEMENTS => [ $e ]}, "ndr", "x");
    248 is($generator->{res}, "if (ndr_flags & NDR_SCALARS) {
     249is($generator->{res}, "NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
     250if (ndr_flags & NDR_SCALARS) {
    249251        NDR_CHECK(ndr_push_uint3264(ndr, NDR_SCALARS, ndr_string_array_size(ndr, x->el1)));
    250252        NDR_CHECK(ndr_push_align(ndr, 4));
  • vendor/current/pidl/tests/typelist.pl

    r414 r988  
    5353
    5454is(1, hasType("foo"));
    55 is(0, hasType("nonexistant"));
     55is(0, hasType("nonexistent"));
    5656is(0, hasType({TYPE => "ENUM", NAME => "someUnknownType"}));
    5757is(1, hasType({TYPE => "ENUM", NAME => "foo"}));
     
    6060
    6161is(1, is_scalar("uint32"));
    62 is(0, is_scalar("nonexistant"));
     62is(0, is_scalar("nonexistent"));
    6363is(1, is_scalar({TYPE => "ENUM"}));
    6464is(0, is_scalar({TYPE => "STRUCT"}));
  • vendor/current/pidl/tests/wireshark-conf.pl

    r414 r988  
    1616{
    1717        my $str = shift;
    18     open(TMP, "+>", undef) or die("unable to open temp file");
     18        open(TMP, "+>", undef) or die("unable to open temp file");
    1919        print TMP $str;
    2020        seek(TMP, 0, 0);
  • vendor/current/pidl/tests/wireshark-ndr.pl

    r414 r988  
    228228
    229229is($x->DumpHfList(), "\tstatic hf_register_info hf[] = {
    230         { &hf_bla, 
     230        { &hf_bla,
    231231          { \"Bla\", \"bla.field\", FT_UINT32, BASE_DEC, NULL, 255, \"NULL\", HFILL }},
    232232        };
Note: See TracChangeset for help on using the changeset viewer.