@@ -83,10 +83,15 @@ tvrage_lom_fields=("time showid started ended startyear endyear seasons")
83
83
tvrage_lom_values=(1384575576 17 378687600 417222000 1982 1983 1)
84
84
tvrage_values=(- 1384575576 Seven Scripted 17 http://www.tvrage.com/shows/id-17 Canceled/Ended Wednesday 20:00 60 378687600 417222000 Drama,Music US 1 1982 1983 CBS)
85
85
86
- imdb_fields=(" dir title time imdbid score votes genre year released runtime rated actors director plot" )
87
- imdb_lom_fields=(" time score votes year released runtime" )
88
- imdb_lom_values=(1385027223 6.6 47 2008 1 14)
89
- imdb_values=(- One 1385027223 tt1302196 6.6 47 Short,Comedy 2008 1 14 blabla Joe Hattie WePlot)
86
+ oldimdb_fields=(" dir title time imdbid score votes genre year released runtime rated actors director plot" )
87
+ oldimdb_lom_fields=(" time score votes year released runtime" )
88
+ oldimdb_lom_values=(1385027223 6.6 47 2008 1 14)
89
+ oldimdb_values=(- One 1385027223 tt1302196 6.6 47 Short,Comedy 2008 1 14 blabla Joe Hattie WePlot)
90
+
91
+ imdb_fields=(" dir title time imdbid score votes genre year released runtime rated actors director plot country language screens type" )
92
+ imdb_lom_fields=(" time score votes year released runtime screens" )
93
+ imdb_lom_values=(1385027223 6.6 47 2008 1 14 10100)
94
+ imdb_values=(- One 1385027223 tt1302196 6.6 47 Short,Comedy 2008 1 14 blabla Joe Hattie WePlot Spain Spanish 10100 movie)
90
95
91
96
gconf_fields=(" r_path_clean r_path_postproc r_year_extract r_exclude_user paths use_shared_mem execute_on_lookup_fail path_exec_on_lookup_fail_imdb path_exec_on_lookup_fail_tvrage path_exec_on_match r_skip_basedir r_exclude_user_flags lookup_match_strictness_imdb lookup_match_strictness_tvrage logging imdb_skip_zero_score r_path_clean_icase log_string imdb_skip_zero_votes" )
92
97
gconf_lom_fields=(" use_shared_mem execute_on_lookup_fail lookup_match_strictness_imdb lookup_match_strictness_tvrage logging imdb_skip_zero_score r_path_clean_icase imdb_skip_zero_votes" )
@@ -153,6 +158,8 @@ launch_test() {
153
158
r=0
154
159
if [ " ${lt_log} " = " tvrage" ]; then
155
160
lt_ft=" tvlog"
161
+ elif [ " ${lt_log} " = " oldimdb" ]; then
162
+ lt_ft=" imdblog_o"
156
163
elif [ " ${lt_log} " = " imdb" ]; then
157
164
lt_ft=" imdblog"
158
165
elif [ " ${lt_log} " = " game" ]; then
@@ -167,11 +174,12 @@ launch_test() {
167
174
lt_ft=" ge4log"
168
175
elif [ " ${lt_log} " = " gconf" ]; then
169
176
lt_ft=" gconf"
170
-
171
177
else
172
178
lt_ft=${lt_log}
173
179
fi
180
+
174
181
echo -n " $1 : creating test log.. "
182
+
175
183
create_packet " ${lt_log} _fields" " ${lt_log} _values" | ${GLUTIL} --silent --nostats --nobackup -z ${lt_log} --${lt_ft} ${g_td} -vvvv &&
176
184
create_packet " ${lt_log} _fields" " ${lt_log} _values" | ${GLUTIL} --silent --nostats --nobackup -z ${lt_log} --${lt_ft} ${g_td} -vvvv && {
177
185
echo -e " \tOK"
@@ -186,7 +194,7 @@ launch_test() {
186
194
echo -e " \tOK"
187
195
} || {
188
196
echo -e " \tFAILED"
189
- ${GLUTIL} -q ${lt_log} --nofq --${lt_ft} ${g_td} --batch
197
+ ${GLUTIL} -q ${lt_log} --nofq --${lt_ft} ${g_td} -E
190
198
echo ${lt_ms}
191
199
r=1
192
200
}
@@ -206,6 +214,7 @@ launch_test() {
206
214
echo -e " \t\tOK"
207
215
} || {
208
216
echo -e " \t\tFAILED"
217
+ ${GLUTIL} -q ${lt_log} --nofq --${lt_ft} ${g_td} -E
209
218
echo ${lt_ms}
210
219
r=3
211
220
}
@@ -249,7 +258,7 @@ launch_test() {
249
258
echo $lt_rv
250
259
return 1
251
260
}
252
-
261
+
253
262
return ${r}
254
263
}
255
264
@@ -270,6 +279,7 @@ trap "rm -f ${g_td}; rm -fR ${fs_td}; exit 2" 2 15 9 6 3 15
270
279
launch_test dirlog || t_quit ${?}
271
280
launch_test nukelog || t_quit ${?}
272
281
launch_test tvrage || t_quit ${?}
282
+ launch_test oldimdb || t_quit ${?}
273
283
launch_test imdb || t_quit ${?}
274
284
launch_test dupefile || t_quit ${?}
275
285
launch_test lastonlog || t_quit ${?}
0 commit comments