diff options
author | Clark Williams <williams@redhat.com> | 2010-08-14 09:07:04 -0500 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2010-08-14 09:07:04 -0500 |
commit | eb62cb6ef11823e3f193b16d41bdcee312132a4a (patch) | |
tree | 65523ce1c1fd2cf8f3a0aaa53f1a8f59ada57542 | |
parent | 3309418b802f6cebc7837416394763d5fd8ef69f (diff) | |
download | mock-eb62cb6ef11823e3f193b16d41bdcee312132a4a.tar.gz mock-eb62cb6ef11823e3f193b16d41bdcee312132a4a.tar.xz mock-eb62cb6ef11823e3f193b16d41bdcee312132a4a.zip |
removed trap of EXIT in unit tests driver
This cause the test to always report failure
Signed-off-by: Clark Williams <williams@redhat.com>
-rwxr-xr-x | tests/runtests.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |