mkvtoolnix/tests/test-0323propedit_segment_info.rb

23 lines
475 B
Ruby
Raw Normal View History

2011-12-03 15:09:55 +00:00
#!/usr/bin/ruby -w
2021-07-07 14:06:32 +00:00
class T_0323propedit_segment_info < Test
2011-12-03 15:09:55 +00:00
def description
"mkvpropedit / segment info"
end
def run
hashes = []
sys "cp data/mkv/complex.mkv #{tmp}"
hashes << hash_tmp(false)
propedit "--edit info --set title='Some Wuffy' --set segment-filename='#{"long " * 200}'"
hashes << hash_tmp(false)
propedit "--edit info --set title='Some Wuffy' --delete segment-filename"
hashes << hash_tmp
hashes.join '-'
end
end