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