blob: 8e205c249db683d3e5bce2f985f8f524690ca441 [file] [log] [blame]
Max Rasskazova8db7a92015-05-30 02:23:43 +03001# description format:
2# url:
3# test_function_name_1: expected_result
4# test_function_name_2: [expected, results]
5# test_function_name_3:
6# - expected
7# - results
8'ubuntu@172.18.66.89:~':
Max Rasskazov64f77bf2015-06-02 15:22:48 +03009 url: 'ubuntu@172.18.66.89:~'
Max Rasskazov2f93dd22015-06-04 14:20:44 +030010 url_in:
11 '': 'ubuntu@172.18.66.89:~/'
12 '/': 'ubuntu@172.18.66.89:~/'
13 '/first/level/': 'ubuntu@172.18.66.89:~/first/level/'
14 'first/level': 'ubuntu@172.18.66.89:~/first/level/'
15 url_is:
16 '': 'ubuntu@172.18.66.89:~'
17 '/': 'ubuntu@172.18.66.89:~'
18 '/first/level/': 'ubuntu@172.18.66.89:~/first/level'
19 'first/level': 'ubuntu@172.18.66.89:~/first/level'
Max Rasskazova8db7a92015-05-30 02:23:43 +030020 exact_match_num: 1
21 classed: 'ssh'
22 parsed:
23 - 'ubuntu'
24 - '172.18.66.89'
Max Rasskazova8db7a92015-05-30 02:23:43 +030025 - '~'
Max Rasskazov64f77bf2015-06-02 15:22:48 +030026 valid: True
Max Rasskazova8db7a92015-05-30 02:23:43 +030027'johnivanov@172.18.66.89:/mirror-sync/otlichniy/reg/exp':
Max Rasskazov64f77bf2015-06-02 15:22:48 +030028 url: 'johnivanov@172.18.66.89:/mirror-sync/otlichniy/reg/exp'
Max Rasskazova8db7a92015-05-30 02:23:43 +030029 exact_match_num: 1
30 classed: 'ssh'
31 parsed:
32 - 'johnivanov'
33 - '172.18.66.89'
Max Rasskazova8db7a92015-05-30 02:23:43 +030034 - '/mirror-sync/otlichniy/reg/exp'
Max Rasskazov64f77bf2015-06-02 15:22:48 +030035 valid: True
Max Rasskazova8db7a92015-05-30 02:23:43 +030036'172.18.66.89:/mirror-sync/otlichniy/reg/exp':
Max Rasskazov64f77bf2015-06-02 15:22:48 +030037 url: '172.18.66.89:/mirror-sync/otlichniy/reg/exp'
Max Rasskazova8db7a92015-05-30 02:23:43 +030038 exact_match_num: 1
39 classed: 'ssh'
40 parsed:
41 - null
42 - '172.18.66.89'
Max Rasskazova8db7a92015-05-30 02:23:43 +030043 - '/mirror-sync/otlichniy/reg/exp'
Max Rasskazov64f77bf2015-06-02 15:22:48 +030044 valid: True
Max Rasskazova8db7a92015-05-30 02:23:43 +030045'172.18.66.89:/':
Max Rasskazov64f77bf2015-06-02 15:22:48 +030046 url: '172.18.66.89:/'
Max Rasskazova8db7a92015-05-30 02:23:43 +030047 exact_match_num: 1
48 classed: 'ssh'
49 parsed:
50 - null
51 - '172.18.66.89'
Max Rasskazova8db7a92015-05-30 02:23:43 +030052 - '/'
Max Rasskazov64f77bf2015-06-02 15:22:48 +030053 valid: True
Max Rasskazova8db7a92015-05-30 02:23:43 +030054'172.18.66.89:':
Max Rasskazov64f77bf2015-06-02 15:22:48 +030055 url: '172.18.66.89:'
Max Rasskazova8db7a92015-05-30 02:23:43 +030056 exact_match_num: 1
57 classed: 'ssh'
58 parsed:
59 - null
60 - '172.18.66.89'
Max Rasskazov64f77bf2015-06-02 15:22:48 +030061 - ''
62 valid: True
63'johnivanov@172.18.66.89::mirror-sync/otlichniy/reg/exp':
64 url: 'johnivanov@172.18.66.89::mirror-sync/otlichniy/reg/exp'
Max Rasskazov2f93dd22015-06-04 14:20:44 +030065 url_in:
66 '': 'johnivanov@172.18.66.89::mirror-sync/otlichniy/reg/exp/'
67 '/': 'johnivanov@172.18.66.89::mirror-sync/otlichniy/reg/exp/'
68 '/first/level/': 'johnivanov@172.18.66.89::mirror-sync/otlichniy/reg/exp/first/level/'
69 'first/level': 'johnivanov@172.18.66.89::mirror-sync/otlichniy/reg/exp/first/level/'
70 url_is:
71 '': 'johnivanov@172.18.66.89::mirror-sync/otlichniy/reg/exp'
72 '/': 'johnivanov@172.18.66.89::mirror-sync/otlichniy/reg/exp'
73 '/first/level/': 'johnivanov@172.18.66.89::mirror-sync/otlichniy/reg/exp/first/level'
74 'first/level': 'johnivanov@172.18.66.89::mirror-sync/otlichniy/reg/exp/first/level'
Max Rasskazova8db7a92015-05-30 02:23:43 +030075 exact_match_num: 1
76 classed: 'rsync1'
Max Rasskazov64f77bf2015-06-02 15:22:48 +030077 parsed_rsync:
Max Rasskazova8db7a92015-05-30 02:23:43 +030078 - 'johnivanov'
79 - '172.18.66.89'
80 - null
Max Rasskazov64f77bf2015-06-02 15:22:48 +030081 - 'mirror-sync'
82 - '/otlichniy/reg/exp'
83 valid: True
84'172.18.66.89::mirror-sync/otlichniy/reg/exp':
85 url: '172.18.66.89::mirror-sync/otlichniy/reg/exp'
86 exact_match_num: 1
87 classed: 'rsync1'
88 parsed_rsync:
89 - null
90 - '172.18.66.89'
91 - null
92 - 'mirror-sync'
93 - '/otlichniy/reg/exp'
94 valid: True
95'johnivanov@172.18.66.89::/mirror-sync/otlichniy/reg/exp':
96 url: 'johnivanov@172.18.66.89::/mirror-sync/otlichniy/reg/exp'
97 exact_match_num: 0
98 classed: null
99 valid: False
Max Rasskazova8db7a92015-05-30 02:23:43 +0300100'172.18.66.89::/mirror-sync/otlichniy/reg/exp':
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300101 url: '172.18.66.89::/mirror-sync/otlichniy/reg/exp'
102 exact_match_num: 0
103 classed: null
104 valid: False
Max Rasskazova8db7a92015-05-30 02:23:43 +0300105'172.18.66.89::/':
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300106 url: '172.18.66.89::/'
107 exact_match_num: 0
108 classed: null
109 valid: False
Max Rasskazova8db7a92015-05-30 02:23:43 +0300110'172.18.66.89::':
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300111 url: '172.18.66.89::'
Max Rasskazov732379b2015-06-02 17:05:20 +0300112 exact_match_num: 0
113 classed: null
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300114 valid: False
Max Rasskazov732379b2015-06-02 17:05:20 +0300115 #url: '172.18.66.89::'
116 #exact_match_num: 1
117 #classed: 'rsync1'
118 #parsed_rsync:
119 # - null
120 # - '172.18.66.89'
121 # - null
122 # - null
123 # - ''
124 #valid: False
Max Rasskazova8db7a92015-05-30 02:23:43 +0300125'rsync://mirror-sync@172.18.66.89:7327/otlichniy/reg/exp':
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300126 url: 'rsync://mirror-sync@172.18.66.89:7327/otlichniy/reg/exp'
Max Rasskazov2f93dd22015-06-04 14:20:44 +0300127 url_in:
128 '': 'rsync://mirror-sync@172.18.66.89:7327/otlichniy/reg/exp/'
129 '/': 'rsync://mirror-sync@172.18.66.89:7327/otlichniy/reg/exp/'
130 '/first/level/': 'rsync://mirror-sync@172.18.66.89:7327/otlichniy/reg/exp/first/level/'
131 'first/level': 'rsync://mirror-sync@172.18.66.89:7327/otlichniy/reg/exp/first/level/'
132 url_is:
133 '': 'rsync://mirror-sync@172.18.66.89:7327/otlichniy/reg/exp'
134 '/': 'rsync://mirror-sync@172.18.66.89:7327/otlichniy/reg/exp'
135 '/first/level/': 'rsync://mirror-sync@172.18.66.89:7327/otlichniy/reg/exp/first/level'
136 'first/level': 'rsync://mirror-sync@172.18.66.89:7327/otlichniy/reg/exp/first/level'
Max Rasskazova8db7a92015-05-30 02:23:43 +0300137 exact_match_num: 1
138 classed: 'rsync2'
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300139 parsed_rsync:
Max Rasskazova8db7a92015-05-30 02:23:43 +0300140 - 'mirror-sync'
141 - '172.18.66.89'
142 - 7327
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300143 - 'otlichniy'
144 - '/reg/exp'
145 valid: True
Max Rasskazova8db7a92015-05-30 02:23:43 +0300146'rsync://172.18.66.89:7327/mirror-sync/otlichniy/reg/exp':
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300147 url: 'rsync://172.18.66.89:7327/mirror-sync/otlichniy/reg/exp'
Max Rasskazova8db7a92015-05-30 02:23:43 +0300148 exact_match_num: 1
149 classed: 'rsync2'
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300150 parsed_rsync:
Max Rasskazova8db7a92015-05-30 02:23:43 +0300151 - null
152 - '172.18.66.89'
153 - 7327
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300154 - 'mirror-sync'
155 - '/otlichniy/reg/exp'
156 valid: True
Max Rasskazova8db7a92015-05-30 02:23:43 +0300157'rsync://172.18.66.89/mirror-sync/otlichniy/reg/exp':
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300158 url: 'rsync://172.18.66.89/mirror-sync/otlichniy/reg/exp'
Max Rasskazova8db7a92015-05-30 02:23:43 +0300159 exact_match_num: 1
160 classed: 'rsync2'
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300161 parsed_rsync:
Max Rasskazova8db7a92015-05-30 02:23:43 +0300162 - null
163 - '172.18.66.89'
164 - null
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300165 - 'mirror-sync'
166 - '/otlichniy/reg/exp'
167 valid: True
Max Rasskazova8db7a92015-05-30 02:23:43 +0300168'rsync://172.18.66.89/':
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300169 url: 'rsync://172.18.66.89/'
Max Rasskazova8db7a92015-05-30 02:23:43 +0300170 exact_match_num: 1
171 classed: 'rsync2'
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300172 parsed_rsync:
Max Rasskazova8db7a92015-05-30 02:23:43 +0300173 - null
174 - '172.18.66.89'
175 - null
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300176 - null
177 - ''
178 valid: False
Max Rasskazova8db7a92015-05-30 02:23:43 +0300179'rsync://172.18.66.89':
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300180 url: 'rsync://172.18.66.89'
Max Rasskazova8db7a92015-05-30 02:23:43 +0300181 exact_match_num: 1
182 classed: 'rsync2'
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300183 parsed_rsync:
Max Rasskazova8db7a92015-05-30 02:23:43 +0300184 - null
185 - '172.18.66.89'
186 - null
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300187 - null
188 - ''
189 valid: False
Max Rasskazova8db7a92015-05-30 02:23:43 +0300190'/':
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300191 url: '/'
Max Rasskazov2f93dd22015-06-04 14:20:44 +0300192 url_in:
193 '': '/'
194 '/': '/'
195 '/first/level/': '/first/level/'
196 'first/level': '/first/level/'
197 url_is:
198 '': '/'
199 '/': '/'
200 '/first/level/': '/first/level'
201 'first/level': '/first/level'
Max Rasskazova8db7a92015-05-30 02:23:43 +0300202 exact_match_num: 1
203 classed: 'path'
204 parsed:
205 - null
206 - null
Max Rasskazova8db7a92015-05-30 02:23:43 +0300207 - '/'
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300208 valid: True
Max Rasskazova8db7a92015-05-30 02:23:43 +0300209'dir':
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300210 url: 'dir'
Max Rasskazova8db7a92015-05-30 02:23:43 +0300211 exact_match_num: 1
212 classed: 'path'
213 parsed:
214 - null
215 - null
Max Rasskazova8db7a92015-05-30 02:23:43 +0300216 - 'dir'
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300217 valid: True
Max Rasskazova8db7a92015-05-30 02:23:43 +0300218'/dir':
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300219 url: '/dir'
Max Rasskazova8db7a92015-05-30 02:23:43 +0300220 exact_match_num: 1
221 classed: 'path'
222 parsed:
223 - null
224 - null
Max Rasskazova8db7a92015-05-30 02:23:43 +0300225 - '/dir'
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300226 valid: True
Max Rasskazova8db7a92015-05-30 02:23:43 +0300227'/dir/subdir/':
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300228 url: '/dir/subdir/'
Max Rasskazova8db7a92015-05-30 02:23:43 +0300229 exact_match_num: 1
230 classed: 'path'
231 parsed:
232 - null
233 - null
Max Rasskazova8db7a92015-05-30 02:23:43 +0300234 - '/dir/subdir/'
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300235 valid: True
Max Rasskazova8db7a92015-05-30 02:23:43 +0300236'':
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300237 url: ''
Max Rasskazova8db7a92015-05-30 02:23:43 +0300238 exact_match_num: 0
239 classed: null
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300240 valid: False