rt_gccstream/contrib/reghunt/bin/gcc-svn-checkfail

10 lines
262 B
Bash
Executable File

#! /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}