]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-769609-triggers-still-pending-after-run
test: Always install dpkg into our tests, regardless of MA
[apt.git] / test / integration / test-bug-769609-triggers-still-pending-after-run
index b44ebf74f0b9aa1856e3f36b9328ba5a1f8b684d..ce2c193ddfd8b040197be36b8392314018e7d6ef 100755 (executable)
@@ -8,7 +8,7 @@ setupenvironment
 configarchitecture 'amd64'
 
 msgtest 'Check if installed dpkg supports' 'noawait trigger'
 configarchitecture 'amd64'
 
 msgtest 'Check if installed dpkg supports' 'noawait trigger'
-if dpkg-checkbuilddeps -d 'dpkg (>= 1.16.1)' /dev/null; then
+if dpkg --compare-versions "$(dpkg_version)" 'ge' '1.16.1'; then
        msgpass
 else
        msgskip 'dpkg version too old'
        msgpass
 else
        msgskip 'dpkg version too old'