> Did you look at the 't/simple.t' test file for a test 3 (it's clearly
> labelled)? What the test is doing is verifying that you have a proc file at
> '/proc/net/ip_queue' and that it can find a line that looks like the
> following:
> Peer PID : 0
>
> I'm guessing that you don't have the proc file it's looking for. Try
> loading the ip_queue kernel module:
> $> modprobe ip_queue
[root@xerxes perlipq-1.25]# cat /proc/net/ip_queue
Peer PID : 0
Copy mode : 0
Copy range : 0
Queue length : 0
Queue max. length : 1024
Queue dropped : 0
Netlink dropped : 0
[root@xerxes perlipq-1.25]#
What else would make test 3 fail???
Looking at the code below for test 3, nothing is jumping out at me.
#
# Test 3 - Verify against /proc entry
#
$procfile = '/proc/net/ip_queue';
if (!open PROC, "<$procfile") {
print "not ok 3\n";
die "Fatal: unable to open $procfile: $!";
}
while (<PROC>) {
if (/^Peer pid\s+:\s+(\d+)/) {
$procpid = $1;
last;
}
}
close PROC;
if (!$procpid) {
print "not ok 3\n";
} else {
if ($procpid != $$) {
print "not ok 3\n";
} else {
print "ok 3\n";
}
}
[root@xerxes perlipq-1.25]# /sbin/lsmod |grep ip_queue
ip_queue 14433 0
[root@xerxes perlipq-1.25]#
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug