summaryrefslogtreecommitdiff
path: root/test/integration
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-11-25 15:51:21 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2016-12-16 13:50:00 +0100
commit58ebb3017baf46e33a9bb2c1779d6daede27d108 (patch)
treeaaba86ad8d941bdcffa2686f23034ddd89eb43c1 /test/integration
parent78db35195eddcd156130fff9ea3e895b30cbf9c3 (diff)
let {dsc,tar,diff}-only implicitly enable download-only
That was the case already for tar-only and diff-only, but in a more confusing way and without a message while dsc "worked" before resulting in a dpkg-source error shortly after as tar/diff files aren't available…
Diffstat (limited to 'test/integration')
-rwxr-xr-xtest/integration/test-apt-cdrom2
-rwxr-xr-xtest/integration/test-sourceslist-trusted-options4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/integration/test-apt-cdrom b/test/integration/test-apt-cdrom
index 212f0baa4..01680c461 100755
--- a/test/integration/test-apt-cdrom
+++ b/test/integration/test-apt-cdrom
@@ -112,7 +112,7 @@ Conf testing:i386 (0.8.15 stable [i386])' aptget install testing:i386 -s
rm -f testing_0.8.15_amd64.deb
rm -f testing_0.8.15.dsc
- testsuccess aptget source testing --dsc-only -d
+ testsuccess aptget source testing --dsc-only
testsuccess test -s testing_0.8.15.dsc
rm -f testing_0.8.15.dsc
cd - >/dev/null
diff --git a/test/integration/test-sourceslist-trusted-options b/test/integration/test-sourceslist-trusted-options
index 94de11ef7..1eee3b09a 100755
--- a/test/integration/test-sourceslist-trusted-options
+++ b/test/integration/test-sourceslist-trusted-options
@@ -26,7 +26,7 @@ foo/stable 1 amd64
testsuccess test -s foo_1_amd64.deb -o -s foo_2_amd64.deb
rm -f foo_1.dsc foo_2.dsc
- testsuccess aptget source foo --dsc-only -d "$@"
+ testsuccess aptget source foo --dsc-only "$@"
testsuccess test -s foo_1.dsc -o -s foo_2.dsc
cd - >/dev/null
}
@@ -48,7 +48,7 @@ E: Some packages could not be authenticated'
testfailure test -s foo_1_amd64.deb -o -s foo_2_amd64.deb
rm -f foo_1.dsc foo_2.dsc
- testfailure aptget source foo --dsc-only -d "$@"
+ testfailure aptget source foo --dsc-only "$@"
testequal "$WARNING" tail -n 3 ../rootdir/tmp/testfailure.output
testfailure test -s foo_1.dsc -o -s foo_2.dsc
cd - >/dev/null