summaryrefslogtreecommitdiff
path: root/test/integration/framework
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2012-07-04 23:54:48 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2012-07-04 23:54:48 +0200
commitb855a40058f99a0f10184c410b3bbf3c2ee4ae83 (patch)
tree20e069af2d3a7fbc013a925dc126db41fe59ef18 /test/integration/framework
parent8e5d47a3a4e735835498574a58e0a33de04a0377 (diff)
* cmdline/apt-mark.cc:
- arch:all packages are treated as arch:native packages, but dpkg expects pkg:all for selections, so use the arch of the installed version instead of the package structure if possible. Thanks to Stepan Golosunov for the report! (Closes: #680041)
Diffstat (limited to 'test/integration/framework')
-rw-r--r--test/integration/framework5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/integration/framework b/test/integration/framework
index 2d6ada117..da85d2332 100644
--- a/test/integration/framework
+++ b/test/integration/framework
@@ -736,6 +736,11 @@ testfileequal() {
fi
}
+testempty() {
+ msgtest "Test for no output of" "$*"
+ test -z "$($* 2>&1)" && msgpass || msgfail
+}
+
testequal() {
local COMPAREFILE=$(mktemp)
addtrap "rm $COMPAREFILE;"