head	1.1;
access;
symbols
	rpm-4_4_8-release:1.1.4.1
	jbj_before_refatoring:1.1
	rpm-4_4_7-release:1.1
	rpm-4_4_6-release:1.1
	rpm-4_4_5-release:1.1
	rpm-4_4_4-release:1.1
	rpm-4_4_3-release:1.1
	rpm-4_4:1.1.0.4
	joo_foo:1.1
	pjones-sparse-experiment:1.1.0.2;
locks; strict;
comment	@# @;


1.1
date	2005.02.08.15.36.30;	author joden;	state Exp;
branches
	1.1.4.1;
next	;

1.1.4.1
date	2006.11.25.23.30.18;	author jbj;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Adding version 11 of rpm-test-harness.
@
text
@TESTS="$@@"
LOG=testlog

. conf.sh

#
# Build test caches (this way we don't have to build all the rpms for the
# test every time...much faster hopefully).
echo "Setting up for test run..."
for TEST in $TESTS
do
	echo "	Setting up test ${TEST}..."
	./test $TEST --buildCache > $LOG 2>&1
	if [ $? != 0 ] 
	then
		echo "ERROR:  Could not build test #${TEST} cache!!!"
		echo "ERROR:  ERROR LOG:  ${LOG}"
		exit 1
	fi
done	

echo "Running tests..."
i=0
while :
do
	i=$(($i + 1))
	for TEST in $TESTS
	do
		./test --useCache $TEST > $LOG 2>&1
		if [ $? != 0 ] 
		then
			echo "ERROR:  Test #${TEST} failed ${i}th iteration!!!"
			echo "ERROR:  Test Log:  ${LOG}"
			exit 1
		fi
		echo "Pass $i Test #${TEST}..."
	done	
done
@


1.1.4.1
log
@- fix test 4: 2nd arg to trigger depends on whether erasures are ordered.
- fix test 17/21: rollbacks can be excluded all-or-none, not partially.
- refactor tests and augment the test configuration to be stand-alone.
@
text
@a28 1
		rm -rf rpdir/*
a36 1
		sleep 4
@

