had compilation fixed for these tests.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3584 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2010-10-01 20:46:50 +00:00
parent 36337b5011
commit dd93311bad
3 changed files with 7 additions and 2 deletions

View File

@ -115,7 +115,7 @@ int main(int argc, char **argv)
displayExtraListDetails(eList, toHash, hashed);
}
while(1)
for(int i=0;i<50;++i)
{
sleep(period);

View File

@ -4,6 +4,10 @@
#include <stdlib.h>
#include "util/rswin.h"
#include "pqi/p3cfgmgr.h"
#include "pqi/p3connmgr.h"
#include "ft/ftserver.h"
#include "turtle/p3turtle.h"
INITTEST();

View File

@ -10,6 +10,7 @@ INITTEST()
int main()
{
std::string ownId = "00000000000000000000000" ;
/* create a random file */
uint64_t size = 100000;
@ -69,7 +70,7 @@ int main()
continue;
}
if (!provider->getFileData(offset, chunk, data))
if (!provider->getFileData(ownId,offset, chunk, data))
{
FAILED("Read from Test Data File");
std::cerr << "Failed to get data";