mkvtoolnix/tests/test-018attachments.rb

18 lines
471 B
Ruby
Raw Normal View History

2004-08-22 14:28:12 +00:00
#!/usr/bin/ruby -w
class T_018attachments < Test
2004-08-25 17:23:07 +00:00
def description
return "mkvmerge / attachments / in(*)"
2004-08-22 14:28:12 +00:00
end
def run
merge("data/vde.srt --attachment-description 'Dummy description' " +
"--attachment-mime-type text/plain --attach-file data/vde.srt")
hash = hash_tmp
merge("data/vde.srt --attachment-description 'automatic MIME type test' " +
"--attach-file data/cuewithtags2.cue")
return hash + "-" + hash_tmp
end
end