[Box Backup-dev] Failing test (was: Win32 port)
Chris Wilson
boxbackup-dev at fluffy.co.uk
Mon Dec 5 19:14:53 GMT 2005
Hi all,
After a few more tweaks I've got the ported 0.08 to compile again on
Linux (I think this should fix it for all *nixes). However, some of the
tests are failing and I don't know why.
Common tests are showing two problems: realloc doesn't move the allocated
block, which I think Ben said is normal on some platforms, so I'm ignoring
it. However, the GetLine tests are also failing. I don't know why that
should be, as the port doesn't touch GetLine as far as I know.
Running in GDB:
198 TEST_CHECK_THROWS(getline.GetLine(true),
CommonException, GetLineEOF);
(gdb) n
Exception thrown: CommonException(GetLineEOF) at FdGetLine.cpp(76)
Exception thrown: CommonException(GetLineEOF) at FdGetLine.cpp(76)
Exception thrown: CommonException(GetLineEOF) at IOStreamGetLine.cpp(70)
Exception thrown: CommonException(GetLineEOF) at IOStreamGetLine.cpp(70)
Exception thrown: CommonException(OSFileError) at Configuration.cpp(104)
FAILED: Exception caught: Common OSFileError
>From the definition of TEST_CHECK_THROWS, I think it should have caught
this exception, and I don't know why it didn't. I hate debugging macros -
I can't step through it to make sure the code path being followed is what
I'm expecting. Anyone have any ideas?
Backupstore tests aren't compiling, and I'm working on that.
Cheers, Chris.
--
_ ___ __ _
/ __/ / ,__(_)_ | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |
More information about the Boxbackup-dev
mailing list