boinc/test/test_upload_backoff.php

24 lines
481 B
PHP

#!/usr/local/bin/php -q
<?php {
// $Id$
// This tests whether upload resuming works correctly.
$use_proxy_cgi = 1;
include_once("test_uc.inc");
test_msg("upload backoff");
$project = new ProjectUC;
// TODO
// start_proxy('exit 1 if ($nconnections < 4); if_done_kill(); if_done_ping();');
// $pid = $host->run_asynch("-exit_when_idle");
$project->start_servers_and_host();
$project->validate_all_and_stop();
test_done();
} ?>