mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-29 14:27:42 +00:00
Add test case for splitting by parts
This commit is contained in:
parent
33774c4c5b
commit
c3a14d46c3
@ -204,3 +204,4 @@ T_355chapters:aff1c812e628ee6c1dc11f8b48d8b472-fe1f0f4bc6fea73176105ec2ed297fd5-
|
|||||||
T_356tags:50b0db97dc1c571a2ae5688614cb0a39-44bd89109f3414e90b84b58b73536133-2718d3a6e7d380df11d0bcdf176cfacf-52b632167e9dadb0779f239bf0c4b82a-ok-ok-ok-ok-ok-ok-ok-ok-ok-ok-ok-ok-ok:passed:20120324-121752:0.210298216
|
T_356tags:50b0db97dc1c571a2ae5688614cb0a39-44bd89109f3414e90b84b58b73536133-2718d3a6e7d380df11d0bcdf176cfacf-52b632167e9dadb0779f239bf0c4b82a-ok-ok-ok-ok-ok-ok-ok-ok-ok-ok-ok-ok-ok:passed:20120324-121752:0.210298216
|
||||||
T_357segment_info:2d71cf1bd5f76518c50cd264c9bbca02-14d5941c82657b7b39cb9c1f93bf39b4-ok-ok-ok-ok-ok-ok-ok:passed:20120324-122844:0.171732152
|
T_357segment_info:2d71cf1bd5f76518c50cd264c9bbca02-14d5941c82657b7b39cb9c1f93bf39b4-ok-ok-ok-ok-ok-ok-ok:passed:20120324-122844:0.171732152
|
||||||
T_358usf:ed5c3f4942642971dc7b7cc9ff2e1c07:passed:20120329-142144:0.03867509
|
T_358usf:ed5c3f4942642971dc7b7cc9ff2e1c07:passed:20120329-142144:0.03867509
|
||||||
|
T_359split_parts:9957b93c496b1d21058c4dce51e11e9d-4b831937b1691f607a0afa96b3d5bc73-ok:passed:20120331-133448:0.290723102
|
||||||
|
9
tests/test-359split_parts.rb
Normal file
9
tests/test-359split_parts.rb
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!/usr/bin/ruby -w
|
||||||
|
|
||||||
|
# T_359split_parts
|
||||||
|
describe "mkvmerge / --split parts:..."
|
||||||
|
|
||||||
|
test "data/avi/v-h264-aac.avi" do
|
||||||
|
merge "--split parts:20s-30s,-40s data/avi/v-h264-aac.avi", :output => "#{tmp}-%02d"
|
||||||
|
[ hash_file("#{tmp}-01"), hash_file("#{tmp}-02"), File.exist?("#{tmp}-03") ? "bad" : "ok" ].join('-')
|
||||||
|
end
|
Loading…
Reference in New Issue
Block a user