Imported Upstream version 1.9.0
[platform/upstream/libzip.git] / regress / name_locate-cp437.test
1 description tests for various encoding flags for zip_name_locate
2 args test.zip  name_locate "\91\92\93\94\95\96\97\98\99\9a\9b\9c\9d\9e\9f " 0  name_locate "\91\92\93\94\95\96\97\98\99\9a\9b\9c\9d\9e\9f " 4  name_locate "\91\92\93\94\95\96\97\98\99\9a\9b\9c\9d\9e\9f " 8  name_locate "\91\92\93\94\95\96\97\98\99\9a\9b\9c\9d\9e\9f " r  name_locate "\91\92\93\94\95\96\97\98\99\9a\9b\9c\9d\9e\9f " s
3 return 0
4 file test.zip test-cp437.zip test-cp437.zip
5 stdout name '\91\92\93\94\95\96\97\98\99\9a\9b\9c\9d\9e\9f ' using flags '0' found at index 9
6 stdout name '\91\92\93\94\95\96\97\98\99\9a\9b\9c\9d\9e\9f ' using flags '4' found at index 9
7 stdout name '\91\92\93\94\95\96\97\98\99\9a\9b\9c\9d\9e\9f ' using flags 'r' found at index 9
8 stdout name '\91\92\93\94\95\96\97\98\99\9a\9b\9c\9d\9e\9f ' using flags 's' found at index 9
9 stderr can't find entry with name '\91\92\93\94\95\96\97\98\99\9a\9b\9c\9d\9e\9f ' using flags '8'