]> git.proxmox.com Git - mirror_iproute2.git/commit
testsuite: add a test for tc pedit action
authorPhil Sutter <phil@nwl.cc>
Tue, 22 Mar 2016 14:16:24 +0000 (15:16 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Sun, 27 Mar 2016 17:34:38 +0000 (10:34 -0700)
commit3c48c714a35958f480289c6d7580aa96b3dad572
tree490857cc841226775aa3828a6353dbf50a648d03
parenta33786b582a29a940cfe1eff826ff5a0548a6d81
testsuite: add a test for tc pedit action

This is not a full test, since kernel functionality is not actually
tested. It only compares that the kernel returned values when listing
the action are what one expects them to be.

Since this test succeeded on both a little-endian and a big-endian
system, it shows that any endianness issues have been resolved in
tc/p_ip.c at least.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
testsuite/tests/tc/pedit.t [new file with mode: 0755]