Changeset 939


Ignore:
Timestamp:
08/21/06 23:28:10 (7 years ago)
Author:
perry
Message:

Be more aggressive with finding errors
Remove useless #include

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/test-dir.c

    r853 r939  
    5252#include <string.h> 
    5353 
    54 #include "dagformat.h" 
    5554#include "libtrace.h" 
    5655 
     
    141140                if (trace_get_source_port(packet)==80) { 
    142141                        trace_set_direction(packet,TRACE_DIR_OUTGOING); 
     142                        assert(trace_get_direction(packet)==TRACE_DIR_OUTGOING); 
     143                        assert(trace_get_source_port(packet)==80); 
    143144                } 
    144145                else { 
    145146                        trace_set_direction(packet,TRACE_DIR_INCOMING); 
     147                        assert(trace_get_direction(packet)==TRACE_DIR_INCOMING); 
    146148                } 
    147149                /* And then force demotion */ 
Note: See TracChangeset for help on using the changeset viewer.