Added a test for VobSub extraction.

This commit is contained in:
Moritz Bunkus 2005-02-11 22:20:18 +00:00
parent dd3abddd7b
commit 579270a9b8
2 changed files with 22 additions and 0 deletions

View File

@ -52,3 +52,4 @@ T_202avc_from_mp4_with_par_bframes:7cfd0e522b3b54ebdc987626c18be3a4:passed:20050
T_203wavpack_with_correctiondata:c18786fea4f93d385575aa4b6a0af4ed:passed:20050201-094411 T_203wavpack_with_correctiondata:c18786fea4f93d385575aa4b6a0af4ed:passed:20050201-094411
T_204wavpack_without_correctiondata:0d01f5162a71fedc934d7e8a675a0004:passed:20050201-094414 T_204wavpack_without_correctiondata:0d01f5162a71fedc934d7e8a675a0004:passed:20050201-094414
T_205X_cuesheets:3b00b00c7d185137e30d7e95e3123d33-b3bb67d316e20da12926d5c1d628f6e5:passed:20050210-211853 T_205X_cuesheets:3b00b00c7d185137e30d7e95e3123d33-b3bb67d316e20da12926d5c1d628f6e5:passed:20050210-211853
T_206X_vobsub:1871f1e7e83dc90ba918a1337bc8eb30-287d40b353664d122f12dfeae3c84888-115f77a674d29a530d6aefc386ed5e85-a6c19d7405f1f9cb8227ac53a3ad23f8-24836c79a8fea4e0da5081e5ea8a643f:new:20050211-231728

21
tests/test-206X_vobsub.rb Normal file
View File

@ -0,0 +1,21 @@
#!/usr/bin/ruby -w
class T_206X_vobsub < Test
def description
return "mkvextract / VobSubs / in(MKV)"
end
def run
xtr_tracks("data/mkv/vobsubs.mks", "4:#{tmp}")
hash = hash_file("#{tmp}.idx") + "-" + hash_file("#{tmp}.sub")
arg = ""
1.upto(7) { |i| arg += "#{i}:#{tmp} " }
xtr_tracks("data/mkv/vobsubs.mks", arg)
hash += "-" + hash_file("#{tmp}.idx") + "-" + hash_file("#{tmp}.sub")
merge("#{tmp}.idx")
hash += "-" + hash_tmp
unlink_tmp_files
return hash
end
end