beanz / xpl-perl

Perl modules for the xPL Home Automation Protocol
19 stars 12 forks source link

t/07 and t/14 failure #3

Open jesse18 opened 13 years ago

jesse18 commented 13 years ago

Hi Beanz, I try to install your promising soft. Unfortunately I got these error messages so far during "make test":

t/07-client.t ................... 32/51 Failed test 'hbeat count' at t/07-client.t line 187. got: '4' expected: '3' Failed test 'hbeat count' at t/07-client.t line 189. got: '5' expected: '4' Failed test 'hbeat.request - hbeat count' at t/07-client.t line 204. got: '5' expected: '4' Failed test 'hbeat.request - hbeat count' at t/07-client.t line 210. got: '6' expected: '5'

t/07-client.t ................... 43/51 # Looks like you failed 4 tests of 51. t/07-client.t ................... Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/51 subtests t/08-bridge-client.t ............ 1/12 Failed test 'remote close error' at t/08-bridge-client.t line 64. got: '' expected: 'xPL::Bridge->sock_read: No one to talk to quit ting.' Looks like you failed 1 test of 12. t/08-bridge-client.t ............ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/12 subtests

and about test 4:

t/14-dock-dmx.t ................. 27/72 Failed test 'read is correct size - 0300' at t/14-dock-dmx.t line 230. got: '5' expected: '4' Failed test 'content is correct - 0300' at t/14-dock-dmx.t line 234. got: '0100030040' expected: '01000300' Failed test 'read is correct size - 044040' at t/14-dock-dmx.t line 230. got: '4' expected: '5' Failed test 'content is correct - 044040' at t/14-dock-dmx.t line 234. got: '01000540' expected: '0100044040'

t/14-dock-dmx.t ................. 66/72 # Looks like you failed 4 tests of 72. t/14-dock-dmx.t ................. Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/72 subtests

I hope it means something to you ;-) What can I do to pass the test phases.

Many thanks, Jesse

beanz commented 13 years ago

Can you tell me something about your environment so I can try to reproduce these problems? Such as first (non-blank) line of "perl -v" and the output from: perl -MAnyEvent -le 'print $AnyEvent::VERSION'.

Thanks, Mark.

jesse18 commented 13 years ago

Hi, With perl -v, I get This is perl, v5.10.0 built for arm-none-linux-gnueabi Copyright 1987-2007, Larry Wall

and the second request reply: 5.31

As you guessed, the environment is a NAS (QNAP 209 to be precise) running under Linux 2.6.12.6 armv5tejl. I hope it's help. Regards, Jesse