"Fossies" - the Fresh Open Source Software Archive

Member "libzip-1.5.2/regress/rename_deleted.test" (12 Mar 2019, 239 Bytes) of package /linux/misc/libzip-1.5.2.tar.xz:

As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # rename deleted entry in zip archive (fails)
    2 return 1
    3 args testfile.zip delete 1 delete 3 rename 1 othername
    4 file testfile.zip testcomment.zip testcomment13.zip
    5 stderr can't rename file at index '1' to 'othername': Entry has been deleted