Ignore:
Timestamp:
02/15/10 22:25:30 (3 years ago)
Author:
sam
Message:

Rename zzcat to zzat to avoid conflicts with zziplib.

File:
1 edited

Legend:

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

    r4287 r4364  
    1414. "$(dirname "$0")/functions.inc" 
    1515 
    16 HAVE_GETLINE=$("$ZZCAT" -l | grep >/dev/null 2>&1 '^  getline(' && echo "y") 
    17 HAVE_GETDELIM=$("$ZZCAT" -l | grep >/dev/null 2>&1 '^  getdelim(' && echo "y") 
    18 HAVE_GETC_UNLOCKED=$("$ZZCAT" -l | grep >/dev/null 2>&1 '^  getc_unlocked(' && echo "y") 
    19 HAVE_FGETC_UNLOCKED=$("$ZZCAT" -l | grep >/dev/null 2>&1 '^  fgetc_unlocked(' && echo "y") 
     16HAVE_GETLINE=$("$ZZAT" -l | grep >/dev/null 2>&1 '^  getline(' && echo "y") 
     17HAVE_GETDELIM=$("$ZZAT" -l | grep >/dev/null 2>&1 '^  getdelim(' && echo "y") 
     18HAVE_GETC_UNLOCKED=$("$ZZAT" -l | grep >/dev/null 2>&1 '^  getc_unlocked(' && echo "y") 
     19HAVE_FGETC_UNLOCKED=$("$ZZAT" -l | grep >/dev/null 2>&1 '^  fgetc_unlocked(' && echo "y") 
    2020 
    2121checkutils() 
     
    7171        esac 
    7272        # Regression tests for stuff that used to break 
    73         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" \ 
     73        check "$ZZOPTS" "$ZZAT -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" \ 
    7474              "eglibc (2.9-21) bug regression" 
    7575        if [ "$HAVE_GET_UNLOCKED $HAVE_GETLINE" = "y y" ]; then 
    76           check "$ZZOPTS" "$ZZCAT -x \"repeat(33000,getc_unlocked(),feof(10),ungetc(),getline()))\" $file" \ 
     76          check "$ZZOPTS" "$ZZAT -x \"repeat(33000,getc_unlocked(),feof(10),ungetc(),getline()))\" $file" \ 
    7777                "sed getc_unlocked() bug regression" 
    7878        fi 
     
    100100          "fread(1,33000) fseek(1000,SEEK_CUR) repeat(-1,fgetc(),feof(10))" \ 
    101101          ; do 
    102             check "$ZZOPTS" "$ZZCAT -x \"$n\" $file" "$n" 
     102            check "$ZZOPTS" "$ZZAT -x \"$n\" $file" "$n" 
    103103        done 
    104104        # Platform-specific tests 
     
    109109              "repeat(-1,fgetc(),feof(10),ungetc(),getline())" \ 
    110110              ; do 
    111                 check "$ZZOPTS" "$ZZCAT -x \"$n\" $file" "$n" 
     111                check "$ZZOPTS" "$ZZAT -x \"$n\" $file" "$n" 
    112112            done 
    113113        fi 
     
    117117              "repeat(10,getdelim(' ')) fread(1,33000)" \ 
    118118              ; do 
    119                 check "$ZZOPTS" "$ZZCAT -x \"$n\" $file" "$n" 
     119                check "$ZZOPTS" "$ZZAT -x \"$n\" $file" "$n" 
    120120            done 
    121121        fi 
     
    128128              "fread(1,33000) fseek(1000,SEEK_CUR) repeat(-1,getc_unlocked(),feof(10))" \ 
    129129              ; do 
    130                 check "$ZZOPTS" "$ZZCAT -x \"$n\" $file" "$n" 
     130                check "$ZZOPTS" "$ZZAT -x \"$n\" $file" "$n" 
    131131            done 
    132132        fi 
     
    138138              "repeat(8000,fgetc_unlocked()) fread(1,33000)" \ 
    139139              ; do 
    140                 check "$ZZOPTS" "$ZZCAT -x \"$n\" $file" "$n" 
     140                check "$ZZOPTS" "$ZZAT -x \"$n\" $file" "$n" 
    141141            done 
    142142        fi 
Note: See TracChangeset for help on using the changeset viewer.