Ticket #64 (closed defect: fixed)

Opened 2 years ago

Last modified 20 months ago

'make test' fails on little endian systems

Reported by: aturner Owned by: aturner
Priority: medium Milestone: 3.0.RC1
Component: tcprewrite Version: 3.0.beta9
Keywords: Cc:
Operating System: Add to FAQ?: no
Hardware: Intel
Output of tcpreplay -V:

Description

libpcap always writes in host byte order. The result is that tcprewrite's tests fail on little endian systems because test/test.pcap is in big endian format. suck.

Attachments

Change History

Changed 2 years ago by aturner

  • component changed from tcpreplay to tcprewrite

Changed 20 months ago by aturner

  • status changed from new to closed
  • resolution set to fixed

(In [1763]) use test2.rewrite_* for little endian tests. fixes #64

Changed 20 months ago by aturner

  • status changed from closed to reopened
  • resolution fixed deleted

Changed 20 months ago by aturner

  • status changed from reopened to closed
  • resolution set to fixed

(In [1764]) whoops, forgot to commit this in configure.in. really fixes #64

Changed 20 months ago by aturner

  • status changed from closed to reopened
  • resolution fixed deleted

Changed 20 months ago by aturner

Note: due to bug #130 which I've added support for in my own testbed, the current make test will fail on everyone else's system because nobody else has my libpcap patch.

Changed 20 months ago by aturner

(In [1765]) fix various brokenness. refs #64

Changed 20 months ago by aturner

  • status changed from reopened to closed
  • resolution set to fixed

successful test run on my linux box. Won't work for anyone else (see #130) but oh well, i doubt anyone else uses it anyways :)

Changed 20 months ago by aturner

  • add_to_faq unset
  • status changed from closed to reopened
  • resolution fixed deleted

Changed 20 months ago by aturner

  • status changed from reopened to closed
  • resolution set to fixed

(In [1810]) initial checkin used my pcap_snaplen_override() which of course nobody else has. So until 0.9.6 is released (which should fix this issue), use my broken version. fixes #64 also refs #130

Add/Change #64 ('make test' fails on little endian systems)

Author



Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.