Skip to content

Commit

Permalink
new test files for little endian which hopefully will fix make test
Browse files Browse the repository at this point in the history
on non-OSX systems.  need more testing. :) refs appneta#429
  • Loading branch information
synfinatic committed Aug 15, 2010
1 parent 54c689e commit caa6b93
Show file tree
Hide file tree
Showing 34 changed files with 8 additions and 2 deletions.
10 changes: 8 additions & 2 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_stats replay_dualfile

prep_config:
$(PRINTF) "%s" "[tcpprep] Config mode test: "
Expand Down Expand Up @@ -535,7 +535,7 @@ replay_precache:
datadump_mode:
$(PRINTF) "%s" "[tcpreplay] Data dump test: "
$(PRINTF) "%s\n" "*** [tcpreplay] Data dump mode test: " >>test.log
$(TCPREPLAY) $(ENABLE_DEBUG) -D -i $(nic1) -j $(nic2) -w primary.data -W secondary.data -c test.cidr -R test.pcap >>test.log 2>&1
$(TCPREPLAY) $(ENABLE_DEBUG) -D -i $(nic1) -I $(nic2) -w primary.data -W secondary.data -c test.cidr -R test.pcap >>test.log 2>&1
if [ $? ] ; then $(PRINTF) "\t\t\t%s\n" "FAILED"; else $(PRINTF) "\t\t\t%s\n" "OK"; fi

replay_config:
Expand All @@ -544,6 +544,12 @@ replay_config:
$(TCPREPLAY) $(ENABLE_DEBUG) --load-opts=config test.pcap >>test.log 2>&1
if [ $? ] ; then $(PRINTF) "\t\t%s\n" "FAILED"; else $(PRINTF) "\t\t%s\n" "OK"; fi

replay_dualfile:
$(PRINTF) "%s" "[tcpreplay] Dual file test: "
$(PRINTF) "%s\n" "*** [tcpreplay] Dual file test: " >>test.log
$(TCPREPLAY) $(ENABLE_DEBUG) -i $(nic1) -I $(nic2) --dualfile test.pcap test.pcap >>test.log 2>&1
if [ $? ] ; then $(PRINTF) "\t\t\t%s\n" "FAILED"; else $(PRINTF) "\t\t\t%s\n" "OK"; fi

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

Expand Down
Binary file modified test/test.auto_bridge
Binary file not shown.
Binary file modified test/test.auto_client
Binary file not shown.
Binary file modified test/test.auto_first
Binary file not shown.
Binary file modified test/test.auto_router
Binary file not shown.
Binary file modified test/test.auto_server
Binary file not shown.
Binary file modified test/test.cidr
Binary file not shown.
Binary file modified test/test.cidr_reverse
Binary file not shown.
Binary file modified test/test.comment
Binary file not shown.
Binary file modified test/test.mac
Binary file not shown.
Binary file modified test/test.mac_reverse
Binary file not shown.
Binary file modified test/test.pcap
Binary file not shown.
Binary file modified test/test.port
Binary file not shown.
Binary file modified test/test.prep_config
Binary file not shown.
Binary file modified test/test.regex
Binary file not shown.
Binary file modified test/test.regex_reverse
Binary file not shown.
Binary file modified test/test2.rewrite_1ttl
Binary file not shown.
Binary file modified test/test2.rewrite_2ttl
Binary file not shown.
Binary file modified test/test2.rewrite_3ttl
Binary file not shown.
Binary file modified test/test2.rewrite_config
Binary file not shown.
Binary file modified test/test2.rewrite_dlthdlc
Binary file not shown.
Binary file modified test/test2.rewrite_dltuser
Binary file not shown.
Binary file modified test/test2.rewrite_efcs
Binary file not shown.
Binary file modified test/test2.rewrite_endpoint
Binary file not shown.
Binary file modified test/test2.rewrite_layer2
Binary file not shown.
Binary file modified test/test2.rewrite_mac
Binary file not shown.
Binary file modified test/test2.rewrite_mtutrunc
Binary file not shown.
Binary file modified test/test2.rewrite_pad
Binary file not shown.
Binary file modified test/test2.rewrite_pnat
Binary file not shown.
Binary file modified test/test2.rewrite_portmap
Binary file not shown.
Binary file modified test/test2.rewrite_seed
Binary file not shown.
Binary file modified test/test2.rewrite_skip
Binary file not shown.
Binary file modified test/test2.rewrite_tos
Binary file not shown.
Binary file modified test/test2.rewrite_trunc
Binary file not shown.

0 comments on commit caa6b93

Please sign in to comment.