]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-712116-dpkg-pre-install-pkgs-hook-multiarch
fix output redirection order
[apt.git] / test / integration / test-bug-712116-dpkg-pre-install-pkgs-hook-multiarch
index a89cb7191260a87c17a404fb290905be0aaf7ae8..af65397ea454a52bdd8b67a705016e5cb99e1d59 100755 (executable)
@@ -42,7 +42,7 @@ enablehookversion 3
 observehook() {
        rm -f ${hook}-v2.list ${hook}-v3.list
        msgtest 'Observe hooks while' "$*"
-       aptget "$@" -y --force-yes >/dev/null 2>&1 && msgpass || msgfail
+       testsuccess --nomsg aptget "$@" -y --force-yes
 }
 
 observehook install stuff -t stable