"Fossies" - the Fresh Open Source Software Archive

Member "libzip-1.6.0/regress/extra_field_align.test" (24 Jan 2020, 2558 Bytes) of package /linux/misc/libzip-1.6.0.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 # try opening simulated Android APK zipaligned files, and similar inconsistent files
    2 setenv LANG C
    3 program tryopen
    4 file extra_field_align_1-0.zzip extra_field_align_1-0.zip extra_field_align_1-0.zip
    5 file extra_field_align_1-ff.zzip extra_field_align_1-ff.zip extra_field_align_1-ff.zip
    6 file extra_field_align_2-0.zzip extra_field_align_2-0.zip extra_field_align_2-0.zip
    7 file extra_field_align_2-ff.zzip extra_field_align_2-ff.zip extra_field_align_2-ff.zip
    8 file extra_field_align_3-0.zzip extra_field_align_3-0.zip extra_field_align_3-0.zip
    9 file extra_field_align_3-ff.zzip extra_field_align_3-ff.zip extra_field_align_3-ff.zip
   10 file extra_field_align_4-ff.zzip extra_field_align_4-ff.zip extra_field_align_4-ff.zip
   11 file extra_field_align_1-ef_00.zzip extra_field_align_1-ef_00.zip extra_field_align_1-ef_00.zip
   12 file extra_field_align_1-ef_ff.zzip extra_field_align_1-ef_ff.zip extra_field_align_1-ef_ff.zip
   13 file extra_field_align_2-ef_00.zzip extra_field_align_2-ef_00.zip extra_field_align_2-ef_00.zip
   14 file extra_field_align_2-ef_ff.zzip extra_field_align_2-ef_ff.zip extra_field_align_2-ef_ff.zip
   15 file extra_field_align_3-ef_00.zzip extra_field_align_3-ef_00.zip extra_field_align_3-ef_00.zip
   16 file extra_field_align_3-ef_ff.zzip extra_field_align_3-ef_ff.zip extra_field_align_3-ef_ff.zip
   17 args -c extra_field_align_1-0.zzip extra_field_align_1-ff.zzip extra_field_align_2-0.zzip extra_field_align_2-ff.zzip extra_field_align_3-0.zzip extra_field_align_3-ff.zzip extra_field_align_4-ff.zzip extra_field_align_1-ef_00.zzip extra_field_align_1-ef_ff.zzip extra_field_align_2-ef_00.zzip extra_field_align_2-ef_ff.zzip extra_field_align_3-ef_00.zzip extra_field_align_3-ef_ff.zzip
   18 return 1
   19 stdout opening 'extra_field_align_1-0.zzip' succeeded, 1 entries
   20 stdout opening 'extra_field_align_1-ff.zzip' returned error 21
   21 stdout opening 'extra_field_align_2-0.zzip' succeeded, 1 entries
   22 stdout opening 'extra_field_align_2-ff.zzip' returned error 21
   23 stdout opening 'extra_field_align_3-0.zzip' succeeded, 1 entries
   24 stdout opening 'extra_field_align_3-ff.zzip' returned error 21
   25 stdout opening 'extra_field_align_4-ff.zzip' succeeded, 1 entries
   26 stdout opening 'extra_field_align_1-ef_00.zzip' succeeded, 1 entries
   27 stdout opening 'extra_field_align_1-ef_ff.zzip' returned error 21
   28 stdout opening 'extra_field_align_2-ef_00.zzip' succeeded, 1 entries
   29 stdout opening 'extra_field_align_2-ef_ff.zzip' returned error 21
   30 stdout opening 'extra_field_align_3-ef_00.zzip' succeeded, 1 entries
   31 stdout opening 'extra_field_align_3-ef_ff.zzip' returned error 21
   32 stderr 6 errors