"Fossies" - the Fresh Open Source Software Archive

Member "libzip-1.5.2/regress/open_incons.test" (12 Mar 2019, 6612 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 # zip_open: various inconsistent files
    2 setenv LANG C
    3 program tryopen
    4 file incons-archive-comment-longer.zzip incons-archive-comment-longer.zip incons-archive-comment-longer.zip
    5 file incons-archive-comment-shorter.zzip incons-archive-comment-shorter.zip incons-archive-comment-shorter.zip
    6 file incons-cdoffset.zzip incons-cdoffset.zip incons-cdoffset.zip
    7 file incons-central-compression-method.zzip incons-central-compression-method.zip incons-central-compression-method.zip
    8 file incons-central-compsize-larger.zzip incons-central-compsize-larger.zip incons-central-compsize-larger.zip
    9 file incons-central-compsize-larger-toolarge.zzip incons-central-compsize-larger-toolarge.zip incons-central-compsize-larger-toolarge.zip
   10 file incons-central-compsize-smaller.zzip incons-central-compsize-smaller.zip incons-central-compsize-smaller.zip
   11 file incons-central-crc.zzip incons-central-crc.zip incons-central-crc.zip
   12 file incons-central-date.zzip incons-central-date.zip incons-central-date.zip
   13 file incons-central-file-comment-longer.zzip incons-central-file-comment-longer.zip incons-central-file-comment-longer.zip
   14 file incons-central-file-comment-shorter.zzip incons-central-file-comment-shorter.zip incons-central-file-comment-shorter.zip
   15 file incons-central-magic-bad.zzip incons-central-magic-bad.zip incons-central-magic-bad.zip
   16 file incons-central-magic-bad2.zzip incons-central-magic-bad2.zip incons-central-magic-bad2.zip
   17 file incons-central-size-larger.zzip incons-central-size-larger.zip incons-central-size-larger.zip
   18 file incons-data.zzip incons-data.zip incons-data.zip
   19 file incons-ef-central-size-wrong.zzip incons-ef-central-size-wrong.zip incons-ef-central-size-wrong.zip 
   20 file incons-ef-local-id-size.zzip incons-ef-local-id-size.zip incons-ef-local-id-size.zip
   21 file incons-ef-local-id.zzip incons-ef-local-id.zip incons-ef-local-id.zip
   22 file incons-ef-local-size.zzip incons-ef-local-size.zip incons-ef-local-size.zip
   23 file incons-eocd-magic-bad.zzip incons-eocd-magic-bad.zip incons-eocd-magic-bad.zip
   24 file incons-file-count-high.zzip incons-file-count-high.zip incons-file-count-high.zip
   25 file incons-file-count-low.zzip incons-file-count-low.zip incons-file-count-low.zip
   26 file incons-file-count-overflow.zzip incons-file-count-overflow.zip incons-file-count-overflow.zip
   27 file incons-local-compression-method.zzip incons-local-compression-method.zip incons-local-compression-method.zip
   28 file incons-local-compsize-larger.zzip incons-local-compsize-larger.zip incons-local-compsize-larger.zip
   29 file incons-local-compsize-smaller.zzip incons-local-compsize-smaller.zip incons-local-compsize-smaller.zip
   30 file incons-local-crc.zzip incons-local-crc.zip incons-local-crc.zip
   31 file incons-local-filename-long.zzip incons-local-filename-long.zip incons-local-filename-long.zip
   32 file incons-local-filename-missing.zzip incons-local-filename-missing.zip incons-local-filename-missing.zip
   33 file incons-local-filename-short.zzip incons-local-filename-short.zip incons-local-filename-short.zip
   34 file incons-local-filename.zzip incons-local-filename.zip incons-local-filename.zip
   35 file incons-local-magic-bad.zzip incons-local-magic-bad.zip incons-local-magic-bad.zip
   36 file incons-local-size-larger.zzip incons-local-size-larger.zip incons-local-size-larger.zip
   37 args -c incons-archive-comment-longer.zzip incons-archive-comment-shorter.zzip incons-cdoffset.zzip incons-central-compression-method.zzip incons-central-compsize-larger-toolarge.zzip incons-central-compsize-larger.zzip incons-central-compsize-smaller.zzip incons-central-crc.zzip incons-central-date.zzip incons-central-file-comment-longer.zzip incons-central-file-comment-shorter.zzip incons-central-magic-bad.zzip incons-central-magic-bad2.zzip incons-central-size-larger.zzip incons-data.zzip incons-ef-central-size-wrong.zzip incons-ef-local-id-size.zzip incons-ef-local-id.zzip incons-ef-local-size.zzip incons-eocd-magic-bad.zzip incons-file-count-high.zzip incons-file-count-low.zzip incons-file-count-overflow.zzip incons-local-compression-method.zzip incons-local-compsize-larger.zzip incons-local-compsize-smaller.zzip incons-local-crc.zzip incons-local-filename-long.zzip incons-local-filename-missing.zzip incons-local-filename-short.zzip incons-local-filename.zzip incons-local-magic-bad.zzip incons-local-size-larger.zzip
   38 return 1
   39 stdout opening 'incons-archive-comment-longer.zzip' returned error 21
   40 stdout opening 'incons-archive-comment-shorter.zzip' returned error 21
   41 stdout opening 'incons-cdoffset.zzip' returned error 21
   42 stdout opening 'incons-central-compression-method.zzip' returned error 21
   43 stdout opening 'incons-central-compsize-larger-toolarge.zzip' returned error 19
   44 stdout opening 'incons-central-compsize-larger.zzip' returned error 21
   45 stdout opening 'incons-central-compsize-smaller.zzip' returned error 21
   46 stdout opening 'incons-central-crc.zzip' returned error 21
   47 stdout opening 'incons-central-date.zzip' returned error 21
   48 stdout opening 'incons-central-file-comment-longer.zzip' returned error 21
   49 stdout opening 'incons-central-file-comment-shorter.zzip' returned error 21
   50 stdout opening 'incons-central-magic-bad.zzip' returned error 19
   51 stdout opening 'incons-central-magic-bad2.zzip' returned error 19
   52 stdout opening 'incons-central-size-larger.zzip' returned error 21
   53 # tryopen does not test checksums, so this is fine.
   54 stdout opening 'incons-data.zzip' succeeded, 1 entries
   55 stdout opening 'incons-ef-central-size-wrong.zzip' returned error 21
   56 stdout opening 'incons-ef-local-id-size.zzip' returned error 21
   57 # different extra fields local vs. central is fine
   58 stdout opening 'incons-ef-local-id.zzip' succeeded, 1 entries
   59 stdout opening 'incons-ef-local-size.zzip' returned error 21
   60 stdout opening 'incons-eocd-magic-bad.zzip' returned error 19
   61 stdout opening 'incons-file-count-high.zzip' returned error 21
   62 stdout opening 'incons-file-count-low.zzip' returned error 21
   63 stdout opening 'incons-file-count-overflow.zzip' returned error 14
   64 stdout opening 'incons-local-compression-method.zzip' returned error 21
   65 stdout opening 'incons-local-compsize-larger.zzip' returned error 21
   66 stdout opening 'incons-local-compsize-smaller.zzip' returned error 21
   67 stdout opening 'incons-local-crc.zzip' returned error 21
   68 stdout opening 'incons-local-filename-long.zzip' returned error 17
   69 stdout opening 'incons-local-filename-missing.zzip' returned error 21
   70 stdout opening 'incons-local-filename-short.zzip' returned error 21
   71 stdout opening 'incons-local-filename.zzip' returned error 21
   72 stdout opening 'incons-local-magic-bad.zzip' returned error 19
   73 stdout opening 'incons-local-size-larger.zzip' returned error 21
   74 stderr 31 errors