summaryrefslogtreecommitdiff
path: root/test/integration/test-ubuntu-bug-761175-remove-purge
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-03-10 00:59:44 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2015-03-16 18:01:54 +0100
commit25b86db159fbc3c043628e285c0c1ef24dec2c6e (patch)
treeeee3860a1a0ff542959db83dcf8e7ffafad91bf1 /test/integration/test-ubuntu-bug-761175-remove-purge
parentb209edfa318e89df31a2dcae82c3d72b48c1e77f (diff)
test exitcode as well as string equality
We use test{success,failure} now all over the place in the framework, so its only consequencial to do this in the situations in which we test for a specific output as well. Git-Dch: Ignore
Diffstat (limited to 'test/integration/test-ubuntu-bug-761175-remove-purge')
-rwxr-xr-xtest/integration/test-ubuntu-bug-761175-remove-purge4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/test-ubuntu-bug-761175-remove-purge b/test/integration/test-ubuntu-bug-761175-remove-purge
index 0b5a91246..c2e2aadf1 100755
--- a/test/integration/test-ubuntu-bug-761175-remove-purge
+++ b/test/integration/test-ubuntu-bug-761175-remove-purge
@@ -31,7 +31,7 @@ runtests() {
testdpkgnotinstalled compiz-core-$1
testdpkgstatus 'rc' '1' "compiz-core-$1"
- testequal "Reading package lists...
+ testsuccessequal "Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
@@ -39,7 +39,7 @@ The following packages will be REMOVED:
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Purg compiz-core-$1" aptget purge compiz-core-$1 -s
testsuccess aptget purge compiz-core-$1 -y
- testequal "dpkg-query: no packages found matching compiz-core-$1" dpkg -l compiz-core-$1
+ testfailureequal "dpkg-query: no packages found matching compiz-core-$1" dpkg -l compiz-core-$1
}
msgmsg 'Test in multi arch environment'