blob: 730f7092f5f896e666d8e55e796e44f5f54f6281 [file] [log] [blame]
description tests for various encoding flags for zip_name_locate
args test.zip name_locate "æÆôöòûùÿÖÜ¢£¥₧ƒá" 0 name_locate "æÆôöòûùÿÖÜ¢£¥₧ƒá" 4 name_locate "æÆôöòûùÿÖÜ¢£¥₧ƒá" 8 name_locate "æÆôöòûùÿÖÜ¢£¥₧ƒá" r name_locate "æÆôöòûùÿÖÜ¢£¥₧ƒá" s
return 0
file test.zip test-cp437.zip test-cp437.zip
stdout name 'æÆôöòûùÿÖÜ¢£¥₧ƒá' using flags '0' found at index 9
stdout name 'æÆôöòûùÿÖÜ¢£¥₧ƒá' using flags '8' found at index 9
stdout name 'æÆôöòûùÿÖÜ¢£¥₧ƒá' using flags 's' found at index 9
stderr can't find entry with name 'æÆôöòûùÿÖÜ¢£¥₧ƒá' using flags '4'
stderr can't find entry with name 'æÆôöòûùÿÖÜ¢£¥₧ƒá' using flags 'r'