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
|
2004-09-28 12:22:06 +00:00
|
|
|
merge("--sub-charset 0:ISO-8859-1 data/textsubs/vde.srt " +
|
|
|
|
"--attachment-description 'Dummy " +
|
2004-08-30 22:17:55 +00:00
|
|
|
"description' --attachment-mime-type text/plain --attach-file " +
|
|
|
|
"data/textsubs/vde.srt")
|
2004-08-22 14:28:12 +00:00
|
|
|
hash = hash_tmp
|
2004-09-28 12:22:06 +00:00
|
|
|
merge("--sub-charset 0:ISO-8859-1 data/textsubs/vde.srt " +
|
|
|
|
"--attachment-description 'automatic MIME " +
|
2004-08-30 22:17:55 +00:00
|
|
|
"type test' --attach-file data/text/cuewithtags2.cue")
|
2004-08-22 14:28:12 +00:00
|
|
|
return hash + "-" + hash_tmp
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|