Fixing test script exit code, moved cleanup code
Fixing test script exit code, moved cleanup code

svn path=/trunk/libavg/; revision=4871

th3infinity/libavg,th3infinity/libavg,yyd01245/libavg,yyd01245/libavg,libavg/libavg,hoodie/libavg,scotty007/libavg,scotty007/libavg,hoodie/libavg,libavg/libavg,hoodie/libavg,scotty007/libavg,th3infinity/libavg,th3infinity/libavg,libavg/libavg,scotty007/libavg,hoodie/libavg,yyd01245/libavg,yyd01245/libavg,libavg/libavg