mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 11:54:01 +00:00
tests: add test for non-ASCII characters in file names
This commit is contained in:
parent
7cd36322e7
commit
d2652415ac
@ -563,3 +563,4 @@ T_714avi_video_aspect_ratio:bf7ff6867eb95995d978a98c4fd1923e-4331bdc2bccdb8b1fb2
|
||||
T_715byte_swapped_ac3:05ac86b3a4d1f21c8b77fc787d7989a9:passed:20210207-115041:0.018538973
|
||||
T_716X_hevc_parameter_sets_before_first_frame_differ_from_codecprivate:500a2ece86b5560e55806934d2bccce1:passed:20210218-194923:0.011528524
|
||||
T_717bluray_identification:29c227f13e3f59d83b99524ac0611cc0-b618dd387524f0f89c1c5585fe78274b:passed:20210219-160953:0.122788019
|
||||
T_718non_ascii_characters_in_file_names:2ebcc8ab16429bde0266d3ef2c153942-7fe7f0e5c844223490a485ae127e8057-7535de2c43cbc270e2443220acb401eb-2a041e9b321d9271a5e8a3e612689995-c9063c52a0f2d62995c328a97fb88335-6cb00a6c0647b716e657969e666352f4-56f2c2819a732305da8ab040b706dce7-7535de2c43cbc270e2443220acb401eb-32751831418847d69442ffd5edb2103e-c9063c52a0f2d62995c328a97fb88335:passed:20210219-161442:0.12201246
|
||||
|
16
tests/test-718non_ascii_characters_in_file_names.rb
Executable file
16
tests/test-718non_ascii_characters_in_file_names.rb
Executable file
@ -0,0 +1,16 @@
|
||||
#!/usr/bin/ruby -w
|
||||
|
||||
# T_718non_ascii_characters_in_file_names
|
||||
describe "mkvmerge & mkvextract / non-ASCII characters in file names"
|
||||
|
||||
Dir.glob("data/filenames/*").sort.each do |file_name|
|
||||
test_identify file_name
|
||||
test_merge file_name
|
||||
|
||||
if %r{mks$}.match(file_name)
|
||||
test "extraction of #{file_name}" do
|
||||
extract file_name, 0 => tmp
|
||||
hash_tmp
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue
Block a user