test 99. Doing so make's cvs 1.11.1p1 exit(1). with this sanity
passes on x86-64 again.
test_99b() {
[ ! -d $DIR/d99cvsroot ] && test_99a
cd /etc/init.d
- $RUNAS cvs -d $DIR/d99cvsroot import -m "nomesg" d99reposname vtag rtag
+ # some versions of cvs import exit(1) when asked to import links or
+ # files they can't read. ignore those files.
+ TOIGNORE=$(find . -type l -printf '-I %f\n' -o \
+ ! -perm +4 -printf '-I %f\n')
+ $RUNAS cvs -d $DIR/d99cvsroot import -m "nomesg" $TOIGNORE \
+ d99reposname vtag rtag
}
run_test 99b "cvs import ======================================="