summaryrefslogtreecommitdiff
path: root/contrib/reghunt/bin/gcc-svn-checkfail
blob: 3877a062bf86f566a979a814ab9da1af6d374b2e (plain)
1
2
3
4
5
6
7
8
9
#! /bin/sh

# Given an identifier that is an index into the current patch list,
# return 1 if the corresponding SVN revision number is in the list of
# known failures, 0 otherwise.

ID=$1
REV=`${REG_IDS} -f index -t rev ${ID}`
grep -q "^${REV}$" ${REG_FAILLIST}