... | ... |
@@ -31,12 +31,6 @@ setup/log/* |
31 | 31 |
setup/latest-build |
32 | 32 |
setup/work/* |
33 | 33 |
setup/build.log |
34 |
-xt/admin.db |
|
35 |
-xt/admin |
|
36 |
-xt/user.db |
|
37 |
-xt/user |
|
38 |
-xt/log |
|
39 |
-xt/import_rep.db |
|
40 |
-xt/import_rep_user |
|
41 |
-xt/smart_http.db |
|
42 |
-xt/smart_http |
|
34 |
+xt/user/* |
|
35 |
+xt/import_rep/* |
|
36 |
+xt/smart_http/* |
... | ... |
@@ -9,7 +9,7 @@ use Encode qw/encode decode/; |
9 | 9 |
use Test::Mojo; |
10 | 10 |
|
11 | 11 |
# Test DB |
12 |
-$ENV{GITPREP_DB_FILE} = "$FindBin::Bin/basic.db"; |
|
12 |
+$ENV{GITPREP_DB_FILE} = "$FindBin::Bin/basic/gitprep.db"; |
|
13 | 13 |
|
14 | 14 |
# Test Repository home |
15 | 15 |
$ENV{GITPREP_REP_HOME} = "$FindBin::Bin/../../gitprep_t_rep_home"; |
... | ... |
@@ -12,10 +12,10 @@ use Encode qw/encode decode/; |
12 | 12 |
use Test::Mojo; |
13 | 13 |
|
14 | 14 |
# Test DB |
15 |
-my $db_file = $ENV{GITPREP_DB_FILE} = "$FindBin::Bin/import_rep.db"; |
|
15 |
+my $db_file = $ENV{GITPREP_DB_FILE} = "$FindBin::Bin/import_rep/gitprep.db"; |
|
16 | 16 |
|
17 | 17 |
# Test Repository home |
18 |
-my $rep_home = $ENV{GITPREP_REP_HOME} = "$FindBin::Bin/import_rep_user"; |
|
18 |
+my $rep_home = $ENV{GITPREP_REP_HOME} = "$FindBin::Bin/import_rep/rep"; |
|
19 | 19 |
|
20 | 20 |
$ENV{GITPREP_NO_MYCONFIG} = 1; |
21 | 21 |
|
... | ... |
@@ -52,12 +52,12 @@ note 'import_rep'; |
52 | 52 |
or die "Command fail: @cmd"; |
53 | 53 |
|
54 | 54 |
# Branch |
55 |
- ok(-f "$FindBin::Bin/import_rep_user/kimoto/gitprep_t.git/refs/heads/b1"); |
|
55 |
+ ok(-f "$rep_home/kimoto/gitprep_t.git/refs/heads/b1"); |
|
56 | 56 |
|
57 | 57 |
# Tag |
58 |
- ok(-f "$FindBin::Bin/import_rep_user/kimoto/gitprep_t.git/refs/tags/t1"); |
|
58 |
+ ok(-f "$rep_home/kimoto/gitprep_t.git/refs/tags/t1"); |
|
59 | 59 |
|
60 | 60 |
# Description |
61 |
- ok(-f "$FindBin::Bin/import_rep_user/kimoto/gitprep_t.git/description"); |
|
61 |
+ ok(-f "$rep_home/kimoto/gitprep_t.git/description"); |
|
62 | 62 |
} |
63 | 63 |
|
... | ... |
@@ -13,10 +13,10 @@ use MIME::Base64 'encode_base64'; |
13 | 13 |
use Test::Mojo; |
14 | 14 |
|
15 | 15 |
# Test DB |
16 |
-my $db_file = $ENV{GITPREP_DB_FILE} = "$FindBin::Bin/smart_http.db"; |
|
16 |
+my $db_file = $ENV{GITPREP_DB_FILE} = "$FindBin::Bin/smart_http/gitprep.db"; |
|
17 | 17 |
|
18 | 18 |
# Test Repository home |
19 |
-my $rep_home = $ENV{GITPREP_REP_HOME} = "$FindBin::Bin/smart_http"; |
|
19 |
+my $rep_home = $ENV{GITPREP_REP_HOME} = "$FindBin::Bin/smart_http/rep"; |
|
20 | 20 |
|
21 | 21 |
$ENV{GITPREP_NO_MYCONFIG} = 1; |
22 | 22 |
|
... | ... |
@@ -12,10 +12,10 @@ use Encode qw/encode decode/; |
12 | 12 |
use Test::Mojo; |
13 | 13 |
|
14 | 14 |
# Test DB |
15 |
-my $db_file = $ENV{GITPREP_DB_FILE} = "$FindBin::Bin/user.db"; |
|
15 |
+my $db_file = $ENV{GITPREP_DB_FILE} = "$FindBin::Bin/user/gitprep.db"; |
|
16 | 16 |
|
17 | 17 |
# Test Repository home |
18 |
-my $rep_home = $ENV{GITPREP_REP_HOME} = "$FindBin::Bin/user"; |
|
18 |
+my $rep_home = $ENV{GITPREP_REP_HOME} = "$FindBin::Bin/user/rep"; |
|
19 | 19 |
|
20 | 20 |
$ENV{GITPREP_NO_MYCONFIG} = 1; |
21 | 21 |
|