summaryrefslogtreecommitdiff
path: root/test/integration/framework
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-07-29 16:31:40 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2010-07-29 16:31:40 +0200
commit86f88a491b867359b2288cfff04536f80ce17c33 (patch)
tree609d77faccd0630f3c1e9dc9c735e5518eaa3b6b /test/integration/framework
parentbd3e16fa135fc1ce417bacc70e88418015305e98 (diff)
parent8e86786b2f0002a7512f97d0f9b5ef3e4794e26e (diff)
merge from lp:~donkult/apt/sid
Diffstat (limited to 'test/integration/framework')
-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() {