summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-07-29 15:09:18 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-07-29 15:09:18 +0200
commit8e86786b2f0002a7512f97d0f9b5ef3e4794e26e (patch)
tree6fe9e582131beced397e3de28b8d8f676ad5ab67
parentca0d389c8969ddb679358ca16e4bcddfcdaf9b03 (diff)
remove the temporary compare files we create
-rw-r--r--test/integration/framework3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/integration/framework b/test/integration/framework
index 7b323fdb5..b4e9302e8 100644
--- a/test/integration/framework
+++ b/test/integration/framework
@@ -147,6 +147,7 @@ testequal() {
shift
msgtest "Test for equality of" "$*"
$* 2>&1 | diff $COMPAREFILE - && msgpass || msgfail
+ rm $COMPAREFILE
}
testequalor2() {
@@ -163,6 +164,7 @@ testequalor2() {
( echo "\n${CINFO}Diff against OR 1${CNORMAL}" "$(diff $COMPAREFILE1 $COMPAREAGAINST)" \
"\n${CINFO}Diff against OR 2${CNORMAL}" "$(diff $COMPAREFILE2 $COMPAREAGAINST)" &&
msgfail )
+ rm $COMPAREFILE1 $COMPAREFILE2 $COMPAREAGAINST
}
testshowvirtual() {
@@ -183,6 +185,7 @@ E: No packages found"
eval `apt-config shell ARCH APT::Architecture`
echo "$VIRTUAL" | sed -e "s/:$ARCH//" -e 's/:all//' > $COMPAREFILE
aptcache show $PACKAGE 2>&1 | diff $COMPAREFILE - && msgpass || msgfail
+ rm $COMPAREFILE
}
testnopackage() {