mkvtoolnix/tests/test-434mkvpropedit_no_track_uid.rb
Moritz Bunkus 23a8abbe8a kax_analyzer: create track random UIDs if element is missing
Fixes the second issue mentioned in ticket #1050.
2014-08-09 21:31:14 +02:00

15 lines
314 B
Ruby
Executable File

#!/usr/bin/ruby -w
describe "mkvpropedit / editing files without a track UID"
test "data/mkv/no-track-uid.mks" do
hashes = []
sys "cp data/mkv/no-track-uid.mks #{tmp}"
hashes << hash_tmp(false)
propedit "#{tmp} --edit track:s1 --set name=chunky-bacon"
hashes << hash_tmp(false)
hashes.join '-'
end