From eb62cb6ef11823e3f193b16d41bdcee312132a4a Mon Sep 17 00:00:00 2001 From: Clark Williams Date: Sat, 14 Aug 2010 09:07:04 -0500 Subject: removed trap of EXIT in unit tests driver This cause the test to always report failure Signed-off-by: Clark Williams --- tests/runtests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/runtests.sh b/tests/runtests.sh index d7c4c90..f6cb513 100755 --- a/tests/runtests.sh +++ b/tests/runtests.sh @@ -33,7 +33,7 @@ outdir=${CURDIR}/mock-unit-test MOCKCMD="sudo ./py/mock.py --resultdir=$outdir --uniqueext=$uniqueext -r $testConfig $MOCK_EXTRA_ARGS" CHROOT=/var/lib/mock/${testConfig}-$uniqueext/root -trap '$MOCKCMD --clean; exit 1' INT HUP QUIT EXIT TERM +trap '$MOCKCMD --clean; exit 1' INT HUP QUIT TERM export CURDIR MOCKSRPM DIR TOP_SRCTREE testConfig uniqueext outdir MOCKCMD CHROOT -- cgit