qa: make kernel_untar_build.sh output more helpful

- rm -rv
- list remaining files on failure

to help debug #1230

Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
Sage Weil 2011-06-28 11:09:45 -07:00
parent 016cf6739e
commit f7fb547549

View File

@ -10,6 +10,10 @@ cd linux*
make defconfig
make -j`grep -c processor /proc/cpuinfo`
cd ..
rm -r linux*
if ! rm -rv linux* ; then
echo "uh oh rm -r failed, it left behind:"
find .
exit 1
fi
cd ..
rm -r t linux*
rm -rv t linux*