# various tests for zip_name_locate arguments test.zip name_locate nosuchfile 0 name_locate test 0 name_locate "" 0 name_locate TeSt 0 name_locate TeSt C name_locate testdir/test2 0 name_locate tesTdir/tESt2 C name_locate testdir/test2 d name_locate tesTdir/tESt2 dC name_locate test2 0 name_locate test2 d name_locate TeST2 dC delete 0 name_locate test 0 name_locate test u add new teststring name_locate new 0 name_locate new u add "" teststring name_locate "" 0 unchange_all name_locate test 0 name_locate new 0 # delete 0 # add "new" # add "" # unchange all return 0 file test.zip test.zip stdout name 'test' using flags '0' found at index 0 name 'TeSt' using flags 'C' found at index 0 name 'testdir/test2' using flags '0' found at index 2 name 'tesTdir/tESt2' using flags 'C' found at index 2 name 'test2' using flags 'd' found at index 2 name 'TeST2' using flags 'dC' found at index 2 name 'test' using flags 'u' found at index 0 name 'new' using flags '0' found at index 3 name '' using flags '0' found at index 4 name 'test' using flags '0' found at index 0 end-of-inline-data stderr can't find entry with name 'nosuchfile' using flags '0' can't find entry with name '' using flags '0' can't find entry with name 'TeSt' using flags '0' can't find entry with name 'testdir/test2' using flags 'd' can't find entry with name 'tesTdir/tESt2' using flags 'dC' can't find entry with name 'test2' using flags '0' can't find entry with name 'test' using flags '0' can't find entry with name 'new' using flags 'u' can't find entry with name 'new' using flags '0' end-of-inline-data