Changeset 1521 for zzuf/trunk/test


Ignore:
Timestamp:
Dec 28, 2006, 6:47:26 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Added cat reimplementations to the testsuite.
Location:
zzuf/trunk/test
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/test

    • Property svn:ignore
      •  

        old new  
         1Makefile
        12Makefile.in
        2 Makefile
         3fdcat
         4streamcat
         5*.exe
         6.deps
         7.libs
  • zzuf/trunk/test/Makefile.am

    r1495 r1521  
    22EXTRA_DIST = testsuite.sh
    33
     4noinst_PROGRAMS = fdcat streamcat
     5
     6fdcat_SOURCES = fdcat.c
     7streamcat_SOURCES = streamcat.c
     8
  • zzuf/trunk/test/testsuite.sh

    r1509 r1521  
    4242seed=$(($RANDOM * $$))
    4343ZZUF="$(dirname "$0")/../src/zzuf"
     44FDCAT="$(dirname "$0")/fdcat"
     45STRAMCAT="$(dirname "$0")/streamcat"
    4446FAILED=0
    4547TESTED=0
     
    6365        check $seed $r "dd bs=1024 if=$file" "dd(bs=1024)"
    6466        check $seed $r "dd bs=1 if=$file" "dd(bs=1)"
     67        check $seed $r "$FDCAT $file" "fdcat"
     68        check $seed $r "$STRAMCAT $file" "streamcat"
    6569        if [ "$OK" != 1 ]; then
    6670            echo "*** FAILED ***"
Note: See TracChangeset for help on using the changeset viewer.