Changeset 4233


Ignore:
Timestamp:
Jan 6, 2010, 3:00:49 AM (13 years ago)
Author:
Sam Hocevar
Message:

Add a special section in the testsuite for regressions.

File:
1 edited

Legend:

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

    r4124 r4233  
    5454            ;;
    5555        esac
     56        # 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" \
     58              "eglibc (2.9-21) bug regression"
     59        check "$ZZOPTS" "$ZZCAT \"repeat(33000,getc_unlocked() ungetc() getline())\" $file" \
     60              "sed getc_unlocked() bug regression"
     61        # Misc tests
    5662        for n in \
    5763          "fread(1,33000)" \
     
    8591          "repeat(33000,getc() ungetc() getline())" \
    8692          "repeat(33000,fgetc() ungetc() getline())" \
    87           "repeat(33000,getc_unlocked() ungetc() getline())" \
    8893          "fread(1,33000) fseek(1000,SEEK_CUR) repeat(10000,fread(1,2))" \
    8994          "fread(1,33000) fseek(1000,SEEK_CUR) repeat(10000,getc())" \
Note: See TracChangeset for help on using the changeset viewer.