Ignore:
Timestamp:
Jan 13, 2010, 12:53:18 AM (10 years ago)
Author:
Sam Hocevar
Message:

Improve zzcat documentation and add commandline flags, including --help
and --version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/test/check-utils

    r4240 r4246  
    5555        esac
    5656        # Regression tests for stuff that used to break
    57         check "$ZZOPTS" "$ZZCAT \"fread(1,33000) fseek(1,SEEK_SET) fread(1,1) fseek(4093,SEEK_CUR) fread(1,1) fseek(1,SEEK_CUR) fread(1,1)\" $file" \
     57        check "$ZZOPTS" "$ZZCAT -x \"fread(1,33000) fseek(1,SEEK_SET) fread(1,1) fseek(4093,SEEK_CUR) fread(1,1) fseek(1,SEEK_CUR) fread(1,1)\" $file" \
    5858              "eglibc (2.9-21) bug regression"
    59         check "$ZZOPTS" "$ZZCAT \"repeat(33000,getc_unlocked() ungetc() getline() feof(10))\" $file" \
     59        check "$ZZOPTS" "$ZZCAT -x \"repeat(33000,getc_unlocked() ungetc() getline() feof(10))\" $file" \
    6060              "sed getc_unlocked() bug regression"
    6161        # Misc tests
     
    9696          "fread(1,33000) fseek(1000,SEEK_CUR) repeat(10000,getc_unlocked(),feof(10))" \
    9797          ; do
    98             check "$ZZOPTS" "$ZZCAT \"$n\" $file" "$n"
     98            check "$ZZOPTS" "$ZZCAT -x \"$n\" $file" "$n"
    9999        done
    100100    done
Note: See TracChangeset for help on using the changeset viewer.