summaryrefslogtreecommitdiff
path: root/test/integration
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration')
-rwxr-xr-xtest/integration/test-apt-mark9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/integration/test-apt-mark b/test/integration/test-apt-mark
index 0f62a12b4..5a3ae4b2f 100755
--- a/test/integration/test-apt-mark
+++ b/test/integration/test-apt-mark
@@ -85,6 +85,15 @@ testequal 'E: No packages found' aptmark unhold
testnoholdpkg
testmarkonepkgashold 'foo'
testmarkonepkgashold 'bar'
+
+msgtest 'dpkg supports --merge-avail via' 'stdin'
+if dpkg --merge-avail - < /dev/null >/dev/null 2>&1; then
+ msgpass
+else
+ msgskip 'dpkg version too old'
+ exit 0
+fi
+
testmarkonepkgashold 'uninstalled'
testmarkonepkgashold 'uninstalled-native'