mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 23:49:35 -05:00
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:
parent
36337b5011
commit
dd93311bad
@ -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);
|
||||
|
||||
|
@ -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();
|
||||
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user