Ignore:
Timestamp:
09/15/06 16:05:55 (15 years ago)
Author:
Perry Lorier <perry@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
e4976e1
Parents:
959f88f
Message:

Test pcapfile writing
Warn only about errors while setting compression level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/test-convert.c

    r67cd8c1 rac62ea2  
    9090        if (!strcmp(type,"pcap"))
    9191                return "pcap:traces/100_packets.out.pcap";
     92        if (!strcmp(type,"pcapfile"))
     93                return "pcapfile:traces/100_packets.out.pcap";
    9294        if (!strcmp(type,"wtf"))
    9395                return "wtf:traces/wed.out.wtf";
     
    119121        level=0;
    120122        trace_config_output(outtrace,TRACE_OPTION_OUTPUT_COMPRESS,&level);
    121         iferrout(outtrace);
     123        if (trace_is_err_output(outtrace)) {
     124                trace_perror_output(outtrace,"WARNING: ");
     125        }
    122126
    123127        trace_start(trace);
Note: See TracChangeset for help on using the changeset viewer.