mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-26 12:53:50 +00:00
20 lines
420 B
Ruby
Executable File
20 lines
420 B
Ruby
Executable File
#!/usr/bin/ruby -w
|
|
|
|
# T_420matroska_attachment_no_fileuid
|
|
describe "mkvmerge & mkvextract / Matroska files with attachments missing a FileUID"
|
|
|
|
file = "data/mkv/attachment-without-fileuid.mkv"
|
|
|
|
test_merge file
|
|
|
|
test "extraction" do
|
|
extract file, :mode => :attachments, 1 => tmp
|
|
hash_tmp
|
|
end
|
|
|
|
test "propedit" do
|
|
sys "cp #{file} #{tmp}"
|
|
propedit tmp, "--replace-attachment '=0:data/text/chap1.txt'"
|
|
hash_tmp
|
|
end
|