Changeset ec73798 for examples


Ignore:
Timestamp:
12/12/05 13:41:13 (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:
93d0858
Parents:
95db152
Message:

Don't output the resutls of the selftest

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/rtt/rtt.cc

    r7e9d51c rec73798  
    134134        double last = 0;
    135135        struct flow_id_t a,b;
     136
     137        /* Perform a self test to prove that the comparitor is working fine */
    136138        a.ip_a = 0x7f000001;
    137139        a.ip_b = 0x0ac0ffee;
     
    143145        b.port_b = 80;
    144146
    145         printf("%i %u %u\n",cmp(a,b),a.ip_a,b.ip_a);
    146 
    147147        assert(cmp(a,b)==1);
     148
     149        /* Now that the self test has succeeded, try the full program */
    148150
    149151        trace = trace_create(argv[1]);
Note: See TracChangeset for help on using the changeset viewer.