mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 04:11:44 +00:00
20 lines
409 B
Ruby
Executable File
20 lines
409 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
|
|
cp file, tmp
|
|
propedit tmp, "--replace-attachment '=0:data/text/chap1.txt'"
|
|
hash_tmp
|
|
end
|