2009/12/26 Matthew Burgess <[email protected]>:
> Hi all,
>
> The current instructions mention the fact that running the IPRoute2
> testsuite is unreliable from within the chroot environment as it depends
> on /proc/config.gz support.  That's fair enough, but even when running
> on a freshly rebooted LFS build, the following appears to be required:
>
> sed -i '/^TARGETS/@arpd@@g' misc/Makefile

 Hah!  You fooled me by omitting the 's' - copy'n'paste can be good!

> make DESTDIR=
> cd testsuite
> sed -i 's/sudo/& -E/' Makefile
> make
> mkdir results
> make alltests # requires sudo
>
> Even then, I get not particularly fantastic results (a fair few
> 'Operation not supported' errors), but they may be down to me being
> under a VirtualBox environment and therefore just having a simple
> PCNET32 device hooking up to my hosts's interface.
>
> Could someone run the above commands, please, and verify that they work
> for you?  They were carried out using the latest iproute2-2.6.31 release.
>
> Thanks,
>
> Matt.
> --

 For anyone else playing along at home, the name is apparently a typo -
the code is supposed to be up to date for 2.6.32.  Of course, I can't
*imagine* why anyone would be testing this on a kernel older than 2.6.32,
but if you are, you're probably SOL.

 I'd forgotten how much I hate sudo (for a single physical user, I don't
think it provides any additional security).  But, set up for myself following
BLFS I get (from 2.6.32.2 with the ck1 patchset, on x86_64)

k...@bluesbreaker ~/iproute2-2.6.31/testsuite $make alltests
Running cbq.t [iproute2-this/2.6.32.2-ck1]: RTNETLINK answers:
Operation not supported
RTNETLINK answers: Operation not supported
RTNETLINK answers: Operation not supported
Dump terminated
RTNETLINK answers: Operation not supported
RTNETLINK answers: Operation not supported
Dump terminated
RTNETLINK answers: Operation not supported
RTNETLINK answers: Operation not supported
RTNETLINK answers: Operation not supported
PASS
Running cls-testbed.t [iproute2-this/2.6.32.2-ck1]:
tests/cls-testbed.t: line 59: tests/cls/*.t: No such file or directory
tests/cls-testbed.t: line 59: tests/cls/*.t: No such file or directory
tests/cls-testbed.t: line 59: tests/cls/*.t: No such file or directory
FAILED
Running dsmark.t [iproute2-this/2.6.32.2-ck1]: FAILED
k...@bluesbreaker ~/iproute2-2.6.31/testsuite $

 Of course, it's possible that *some* of this is because we haven't kept up to
date with upstream changes (c.f. e.g. module-init-tools), but at least the
errors for tests/cls/*.t seem to be an upstream problem:

k...@bluesbreaker ~/iproute2-2.6.31/testsuite $ls tests/
cbq.t  cls-testbed.t  dsmark.t  policer


ĸen
-- 
After tragedy, and farce, "OMG poneys!"
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to