Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fklassen committed Dec 17, 2013
1 parent 1a254a0 commit 3f95564
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
8 changes: 1 addition & 7 deletions test/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ tcprewrite: rewrite_portmap rewrite_endpoint rewrite_pnat rewrite_trunc \

tcpreplay: replay_basic replay_cache replay_pps replay_rate replay_top \
replay_config replay_multi replay_pps_multi replay_precache \
replay_stats replay_dualfile replay_maxsleep replay_speed325
replay_stats replay_dualfile replay_maxsleep

prep_config:
$(PRINTF) "%s" "[tcpprep] Config mode test: "
Expand Down Expand Up @@ -556,12 +556,6 @@ replay_maxsleep:
$(TCPREPLAY) $(ENABLE_DEBUG) -i $(nic1) --maxsleep=20 test.pcap test.pcap >>test.log 2>&1
if [ $? ] ; then $(PRINTF) "\t\t%s\n" "FAILED"; else $(PRINTF) "\t\t%s\n" "OK"; fi

replay_sleep325:
$(PRINTF) "%s" "[tcpreplay] Sleep 3.2.5 mode test: "
$(PRINTF) "%s\n" "*** [tcpreplay] Sleep 3.2.5 mode test: " >>test.log
$(TCPREPLAY) $(ENABLE_DEBUG) -i $(nic1) --sleepmode=ver325 test.pcap test.pcap >>test.log 2>&1
if [ $? ] ; then $(PRINTF) "\t\t%s\n" "FAILED"; else $(PRINTF) "\t\t%s\n" "OK"; fi

clean:
rm -f *1 test.log core* *~ primary.data secondary.data

Expand Down
8 changes: 1 addition & 7 deletions test/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ tcprewrite: rewrite_portmap rewrite_endpoint rewrite_pnat rewrite_trunc \

tcpreplay: replay_basic replay_cache replay_pps replay_rate replay_top \
replay_config replay_multi replay_pps_multi replay_precache \
replay_stats replay_dualfile replay_maxsleep replay_speed325
replay_stats replay_dualfile replay_maxsleep

prep_config:
$(PRINTF) "%s" "[tcpprep] Config mode test: "
Expand Down Expand Up @@ -873,12 +873,6 @@ replay_maxsleep:
$(TCPREPLAY) $(ENABLE_DEBUG) -i $(nic1) --maxsleep=20 test.pcap test.pcap >>test.log 2>&1
if [ $? ] ; then $(PRINTF) "\t\t%s\n" "FAILED"; else $(PRINTF) "\t\t%s\n" "OK"; fi

replay_sleep325:
$(PRINTF) "%s" "[tcpreplay] Sleep 3.2.5 mode test: "
$(PRINTF) "%s\n" "*** [tcpreplay] Sleep 3.2.5 mode test: " >>test.log
$(TCPREPLAY) $(ENABLE_DEBUG) -i $(nic1) --sleepmode=ver325 test.pcap test.pcap >>test.log 2>&1
if [ $? ] ; then $(PRINTF) "\t\t%s\n" "FAILED"; else $(PRINTF) "\t\t%s\n" "OK"; fi

clean:
rm -f *1 test.log core* *~ primary.data secondary.data

Expand Down

0 comments on commit 3f95564

Please sign in to comment.