-
Notifications
You must be signed in to change notification settings - Fork 1
/
test_setup.inc
54 lines (44 loc) · 1.45 KB
/
test_setup.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php
// values for test setup. Edit as needed
//
// for UC Berkeley
//
if (gethostname() == "isaac") {
define ('TEST_SITE_NAME', 'UCB_test');
$store_0 = new StdClass;
$store_0->name = 'Store 0';
$store_0->capacity = 1e13;
$store_0->used = 0;
$store_0->rsync_prefix = "boincadm@isaac.ssl.berkeley.edu:hera/store_0";
$store_0->http_prefix = "http://isaac.ssl.berkeley.edu/test/store_0";
$store_0->path_prefix = "/mydisks/a/users/boincadm/hera/store_0";
$store_0->ssh_prefix = "";
$store_0->unavailable = false;
// store 1 is remote
$store_1 = new StdClass;
$store_1->name = 'Store 1';
$store_1->capacity = 1e13;
$store_1->used = 0;
$store_1->rsync_prefix = "davea@clarke.ssl.berkeley.edu:hera";
$store_1->http_prefix = "";
$store_1->path_prefix = "hera";
$store_1->ssh_prefix = "davea@clarke.ssl.berkeley.edu";
$store_1->unavailable = false;
$test_stores = array($store_0, $store_1);
} else {
// for Karoo
//
define ('TEST_SITE_NAME', 'Karoo');
$store_0 = new StdClass;
$store_0->name = 'Store 0';
$store_0->capacity = 1e13;
$store_0->used = 0;
$store_0->rsync_prefix = "";
$store_0->http_prefix = "http://isaac.ssl.berkeley.edu:8088/store_0";
$store_0->path_prefix = "/home/obs/librarian/store_0";
$store_0->ssh_prefix = "";
$store_0->unavailable = false;
$test_stores = array($store_0);
}
$test_source_names = array('RTP', 'Correlator');
?>