[Box Backup] make test errors

Victor Meirans boxbackup@boxbackup.org
Mon, 16 Mar 2009 02:18:09 +0200


Hi Chris,

on 2009.03.16 0:46 Chris Wilson said the following:
>
> Fixed now. All tests pass for me on FreeBSD 7.0.
>

Thank you for fixing those errors.
I updated to trunk version 2452 and installed LWP.
All tests are fine now except httpserver. Here's the log:

`../../release/lib/win32/win32.a' is up to date.
`../../release/lib/common/common.a' is up to date.
`../../release/lib/server/server.a' is up to date.
   [CXX]     HTTPQueryDecoder
   [CXX]     HTTPRequest
HTTPRequest.cpp: In member function 'bool 
HTTPRequest::Receive(IOStreamGetLine&, int)':
HTTPRequest.cpp:130: warning: comparison is always false due to limited 
range of data type
   [CXX]     HTTPResponse
   [CXX]     HTTPServer
   [CXX]     S3Client
   [CXX]     autogen_HTTPException
   [CXX]     cdecode
   [CXX]     cencode
   [AR]      httpserver
   [RANLIB]  httpserver
   [CXX]     _main
   [CXX]     testhttpserver
   [LINK]    test
cp _t ../../release/test/httpserver/t
chmod u+x ../../release/test/httpserver/t
cp _t-gdb ../../release/test/httpserver/t-gdb
chmod u+x ../../release/test/httpserver/t-gdb
TEST: test/httpserver
Killing any running daemons...
Removing old test files...
Copying new test files...
GET request...
POST request...
HEAD request...
Redirected GET request...
Cookie tests...
ERROR:   Failed to write to socket: Broken pipe (32)
WARNING: Exception thrown: ConnectionException(Conn_SocketWriteError) at 
SocketStream.cpp(312)
NOTICE:  Running test httpserver in release mode...
Starting server: ./test server testfiles/httpserver.conf
Waiting for server to start:  done.
Waiting for server to die (pid 65568): . done.
WARNING: Failed to open file: testfiles/nonexist: No such file or 
directory (2)
WARNING: Exception thrown: CommonException(OSFileOpenError) at 
FileStream.cpp(83)
ERROR:   **** TEST FAILURE: response.GetResponseCode() != 403 at 
testhttpserver.cpp:596
Starting server: ./test s3server testfiles/httpserver.conf
Waiting for server to start:  done.
Expected <403> but found <200>
Waiting for server to die (pid 65577): . done.
FAILED: 1 tests failed (first at testhttpserver.cpp:596)
--------
common: PASSED
crypto: PASSED
compress: PASSED
raidfile: PASSED
basicserver: PASSED
backupstore: PASSED
backupstorefix: PASSED
backupstorepatch: PASSED
backupdiff: PASSED
bbackupd: PASSED
httpserver: FAILED: 1 tests failed (first at testhttpserver.cpp:596)


With best wishes,
--
ViC