]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-ubuntu-bug-761175-remove-purge
Use _apt as our unprivileged user name
[apt.git] / test / integration / test-ubuntu-bug-761175-remove-purge
index f55c6e90967ca2dd406052c4444d95e1c27070d2..14648e9b8533f4e7346f8c0b9fe8fd98b1a7055d 100755 (executable)
@@ -18,12 +18,10 @@ setupaptarchive
 
 
 testdpkgnotinstalled compiz-core
 
 
 testdpkgnotinstalled compiz-core
-msgtest 'Install package' 'compiz-core'
-aptget install compiz-core -qq 2>&1 >/dev/null && msgpass || msgfail
+testsuccess aptget install compiz-core
 testdpkginstalled compiz-core
 
 testdpkginstalled compiz-core
 
-msgtest 'Remove package' 'compiz-core'
-aptget remove compiz-core -y -qq 2>&1 >/dev/null && msgpass || msgfail
+testsuccess aptget remove compiz-core -y
 testdpkgnotinstalled compiz-core
 
 msgtest 'Check that conffiles are still around for' 'compiz-core'
 testdpkgnotinstalled compiz-core
 
 msgtest 'Check that conffiles are still around for' 'compiz-core'