Changeset 1616 for zzuf


Ignore:
Timestamp:
Jan 7, 2007, 7:45:00 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Documented stdin behaviour.
Location:
zzuf/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/doc/zzuf.1

    r1610 r1616  
    99               [\fB\-P\fR \fIprotect\fR] [\fB\-R\fR \fIrefuse\fR]
    1010.br
    11                [\fB\-I\fR \fIinclude\fR] [\fB\-E\fR \fIexclude\fR] \fIPROGRAM\fR [\fIARGS\fR]...
     11               [\fB\-I\fR \fIinclude\fR] [\fB\-E\fR \fIexclude\fR] [\fIPROGRAM\fR [\fIARGS\fR]...]
    1212.br
    1313\fBzzuf \-h\fR | \fB\-\-help\fR
     
    3232.PP
    3333\fB    zzuf \-B 1000 cat \-\- \-v /dev/zero\fR
     34.PP
     35When no program is specified, \fBzzuf\fR simply fuzzes the standard input, as
     36if the \fBcat\fR utility had been called:
     37.PP
     38\fB    zzuf < /dev/zero\fR
    3439.SH OPTIONS
    3540.TP
     
    270275.TP
    271276BSD-specific:
    272 \fBfgetln\fR(), \fB__srefill()\fR()
     277\fBfgetln\fR(), \fB__srefill\fR()
    273278.TP
    274279Signal handling:
  • zzuf/trunk/src/zzuf.c

    r1614 r1616  
    610610    printf("                      [-F forks] [-C crashes] [-B bytes] [-T seconds]\n");
    611611    printf("                      [-P protect] [-R refuse]\n");
    612     printf("                      [-I include] [-E exclude] COMMAND [ARGS]...\n");
     612    printf("                      [-I include] [-E exclude] [PROGRAM [ARGS]...]\n");
    613613#   ifdef HAVE_GETOPT_LONG
    614614    printf("       zzuf -h | --help\n");
  • zzuf/trunk/test/testsuite.sh

    r1612 r1616  
    8787        OK=1
    8888        MD5=""
     89        check "$ZZOPTS" "< $file" "zzuf"
    8990        check "$ZZOPTS" "$FDCAT $file" "fdcat"
    9091        check "$ZZOPTS" "$STREAMCAT $file" "streamcat"
     
    9394            check "$ZZOPTS" "-i cat < $file" "|cat"
    9495        fi
    95         if [ "$STATIC_CAT" = "" ]; then
     96        if [ "$STATIC_DD" = "" ]; then
    9697            check "$ZZOPTS" "dd bs=65536 if=$file" "dd(bs=65536)"
    9798            check "$ZZOPTS" "dd bs=1111 if=$file" "dd(bs=1111)"
Note: See TracChangeset for help on using the changeset viewer.