Commit db54e9be71a96b185713ccbc76dff2b462113755
Small adjustments to unit/functional tests
Author: Catalin(ux) M. BOIE
Author date (UTC): 2016-10-03 16:13
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2016-10-03 16:26
Parent(s): 0ba944fa4f60754b31ec29a676e72a9b870698cc
Signing key:
Tree: 47a23a15b72c4ec94c538c652ab0521dd1b254fc
File tests/config.php changed (mode: 100644) (index 65889d2..eaf6ec8) |
... |
... |
$rg_theme = "util"; |
28 |
28 |
$rg_lang = "en"; |
$rg_lang = "en"; |
29 |
29 |
$rg_cache_enable = FALSE; |
$rg_cache_enable = FALSE; |
30 |
30 |
$rg_event_socket = ""; |
$rg_event_socket = ""; |
31 |
|
$rg_ssh_host = 'r1i'; |
|
|
31 |
|
$rg_ssh_host = 'rg'; |
32 |
32 |
$rg_ssh_port = 2222; |
$rg_ssh_port = 2222; |
33 |
33 |
$rg_git_host = 'localhost'; |
$rg_git_host = 'localhost'; |
34 |
34 |
$rg_git_port = 9418; |
$rg_git_port = 9418; |
35 |
35 |
|
|
36 |
36 |
// For http testing |
// For http testing |
37 |
|
$test_url = "http://r1i:9000"; |
|
|
37 |
|
$test_url = "http://rg:9000"; |
38 |
38 |
$rg_debug = 1; |
$rg_debug = 1; |
39 |
39 |
|
|
40 |
40 |
?> |
?> |
File tests/ssh.php changed (mode: 100644) (index 0f65da5..6c9518d) |
... |
... |
if ($r === FALSE) { |
36 |
36 |
exit(1); |
exit(1); |
37 |
37 |
} |
} |
38 |
38 |
|
|
39 |
|
$cmd = "ssh -i keys/" . $rg_ui['uid'] . " rocketgit@r1i"; |
|
|
39 |
|
$cmd = "ssh -i keys/" . $rg_ui['uid'] . " rocketgit@rg" . " -p 2222"; |
40 |
40 |
|
|
41 |
41 |
rg_test_upload_ssh_key($db, $rg_ui, $rg_ui['uid'], $good_sid); |
rg_test_upload_ssh_key($db, $rg_ui, $rg_ui['uid'], $good_sid); |
42 |
42 |
|
|