xref: /netbsd-src/external/gpl3/gcc/dist/contrib/reghunt/bin/gcc-svn-checkfail (revision 4fee23f98c45552038ad6b5bd05124a41302fb01)
1*4fee23f9Smrg#! /bin/sh
2*4fee23f9Smrg
3*4fee23f9Smrg# Given an identifier that is an index into the current patch list,
4*4fee23f9Smrg# return 1 if the corresponding SVN revision number is in the list of
5*4fee23f9Smrg# known failures, 0 otherwise.
6*4fee23f9Smrg
7*4fee23f9SmrgID=$1
8*4fee23f9SmrgREV=`${REG_IDS} -f index -t rev ${ID}`
9*4fee23f9Smrggrep -q "^${REV}$" ${REG_FAILLIST}
10