lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #7750] Add unit tests for DHCP client


From: Simon Goldschmidt
Subject: [lwip-devel] [patch #7750] Add unit tests for DHCP client
Date: Tue, 27 Mar 2012 04:19:15 +0000
User-agent: Mozilla/5.0 (iPad; CPU OS 5_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B176 Safari/7534.48.3

Follow-up Comment #3, patch #7750 (project lwip):

That's strange. I mainly changed 3 things:
- put variable exclamation before code (this is ANSI C, not C++ or one of the
newer C standards - do they allow this?)
Changed some variables and parameters to const and / or static.
- In test_dhcp_relayed, I had to change the test for "fail_unless(txpacket ==
5" from 5 to 6 (the following tests are increased by one, too) and adapt
lwip_tx_func accordingly.

Wile the first two shouldnt make a difference, I'm n to sure why I needed the
third change. Note that I ran the test on windows with git master.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?7750>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]