mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 15:05:23 +00:00
don't destroy evidence by cleaning the test directory
when a test fails
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
|
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
|
||||||
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
# $Id: run.sh,v 1.33 2000/08/01 01:14:24 tale Exp $
|
# $Id: run.sh,v 1.34 2000/11/22 18:31:27 gson Exp $
|
||||||
|
|
||||||
#
|
#
|
||||||
# Run a system test.
|
# Run a system test.
|
||||||
@@ -100,14 +100,15 @@ status=`expr $status + $?`
|
|||||||
|
|
||||||
if [ $status != 0 ]; then
|
if [ $status != 0 ]; then
|
||||||
echo "R:FAIL"
|
echo "R:FAIL"
|
||||||
|
# Don't clean up - we need the evidence.
|
||||||
else
|
else
|
||||||
echo "R:PASS"
|
echo "R:PASS"
|
||||||
fi
|
|
||||||
|
|
||||||
# Cleanup
|
# Clean up.
|
||||||
if test -f $test/clean.sh
|
if test -f $test/clean.sh
|
||||||
then
|
then
|
||||||
( cd $test && sh clean.sh "$@" )
|
( cd $test && sh clean.sh "$@" )
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "E:$test:`date`"
|
echo "E:$test:`date`"
|
||||||
|
Reference in New Issue
Block a user