Hi! > diff --git a/tools/pounder21/build_scripts/ltp > b/tools/pounder21/build_scripts/ltp > index 68dcdbe..70defe4 100755 > --- a/tools/pounder21/build_scripts/ltp > +++ b/tools/pounder21/build_scripts/ltp > @@ -55,23 +55,24 @@ fi > > # NAK the setregid EPERM -> EINVAL patch, because it's > # broken on 2.6! May be fixed some time after 20050804 release. > -if [ ! -e "testcases/kernel/syscalls/setregid/setregid02.c.pounder" ]; then > - echo "Patching some holes in ltp..." > - cp -pRdu testcases/kernel/syscalls/setregid/setregid02.c > testcases/kernel/syscalls/setregid/setregid02.c.pounder > - patch -p1 < $POUNDER_SRCDIR/ltp-setregid-fix.patch > - RESULT=$? > - if [ $RESULT -ne 0 ]; then > - echo Patching failed. > - exit 1 > - fi > -fi > +#if [ ! -e "testcases/kernel/syscalls/setregid/setregid02.c.pounder" ]; then > +# echo "Patching some holes in ltp..." > +# cp -pRdu testcases/kernel/syscalls/setregid/setregid02.c > testcases/kernel/syscalls/setregid/setregid02.c.pounder > +# patch -p1 < $POUNDER_SRCDIR/ltp-setregid-fix.patch > +# RESULT=$? > +# if [ $RESULT -ne 0 ]; then > +# echo Patching failed. > +# exit 1 > +# fi > +#fi
Patching LTP before build from this build script is not really long term solution. We should get these patches applied to LTP (as it should have been done long time ago) and drop this logic entrirely. -- Cyril Hrubis [email protected] ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
