[Box Backup] "make test" reports error

Chris Wilson boxbackup at boxbackup.org
Wed Jan 21 20:35:45 GMT 2009


Hi Stefan,

On Sun, 18 Jan 2009, 67348294 at cox.net wrote:

>> Please could you try changing the number 425 on line 1163 if
>> test/bbackupd/testbbackupd.cpp to 481 and see if the test passes then, or
>> if not, what happens?
>
> Performed test as requested. Result: "bbackupd: PASSED"
>
> So the change solves the problem on this machine.

Ok, good.

> I originally installed the same source on two machines on the same day.
>
> One generated the error that I reported, the other did not (all tests 
> passed).
>
> The version of the machine that did not generate the error is:
>
> Linux version 2.6.9-22.0.2.EL (buildcentos at build-i386) (gcc version 
> 3.4.5 20051201 (Red Hat 3.4.5-2)) #1 Tue Jan 17 06:51:40 CST 2006

The version that had the error appears to me to be the same:

> Linux version 2.6.9-22.0.2.EL (buildcentos at build-i386) (gcc version 
> 3.4.5 20051201 (Red Hat 3.4.5-2)) #1 Tue Jan 17 06:51:40 CST 2006

Can you tell me any more about the differences between these two machines?

> I tried the change you just requested on the machine that originally 
> passed the test. The result is:
>
> FAILURE: Condition [exp_str == found_str] failed at testbbackupd.cpp(1163)
> Expected <Receiving stream, size 481> but found <Receiving stream, size 425> in <Receiving stream, size 425>
>
> So, the change fixes the broken one and breaks the one that used to 
> work. You probably expected this. Hope it helps.

Yes, I did expect that. Narrowing down the differences would be the first 
step in solving this problem. The second is to find out why the directory 
listing has a different length on both machines. Would you be willing to 
run some tests for me to help fix this?

Cheers, Chris.
-- 
_____ __     _
\  __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Ruby/Perl/SQL Developer |
\__/_/_/_//_/___/ | We are GNU : free your mind & your software |



More information about the Boxbackup mailing list