]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-661537-build-profiles-support
test: Always install dpkg into our tests, regardless of MA
[apt.git] / test / integration / test-bug-661537-build-profiles-support
index 91115ea18a1c1cbbdeb7a082728902f69306b586..d24484de9f453d8eddd82bf0fa6a9ead63eda2a6 100755 (executable)
@@ -76,7 +76,7 @@ Building dependency tree...
 }
 
 msgtest 'Check if version of installed dpkg is high enough for' 'build profiles support'
 }
 
 msgtest 'Check if version of installed dpkg is high enough for' 'build profiles support'
-if dpkg --compare-versions "$(command dpkg-query --showformat='${Version}' --show dpkg)" 'ge' '1.17.14'; then
+if dpkg --compare-versions "$(dpkg_version)" 'ge' '1.17.14'; then
        msgpass
        testwithdpkg() {
                msgtest "Test with" "dpkg-checkbuilddeps -d '$1' -P '$2'"
        msgpass
        testwithdpkg() {
                msgtest "Test with" "dpkg-checkbuilddeps -d '$1' -P '$2'"