diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-11-10 16:36:04 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2016-11-10 16:39:27 +0100 |
commit | ff02180ca8abeec0cc1913abf4ad6697d7b25a36 (patch) | |
tree | ffa65414a93cb9f031c140ce3042c5581483d00a /test/integration | |
parent | e40a4a3e381a8cb6c8b924e9ce545512769bddff (diff) |
support 'apt build-dep .' (aka: without /)
Reported-By: Christoph Berg (Myon) on IRC
Diffstat (limited to 'test/integration')
-rwxr-xr-x | test/integration/test-apt-get-build-dep-file | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/integration/test-apt-get-build-dep-file b/test/integration/test-apt-get-build-dep-file index 233aed934..ed850fa40 100755 --- a/test/integration/test-apt-get-build-dep-file +++ b/test/integration/test-apt-get-build-dep-file @@ -141,6 +141,14 @@ cd downloaded testsuccess aptget build-dep --simulate ../foo-1.0 testsuccess aptget build-dep --simulate "$(readlink -f ../foo-1.0)" cd .. +cd foo-1.0 +testsuccess aptget build-dep --simulate './' +testsuccess aptget build-dep --simulate '.' +cd debian +testsuccess aptget build-dep --simulate './../' +testsuccess aptget build-dep --simulate '../' +testsuccess aptget build-dep --simulate '..' +cd ../.. testfailureequal 'E: Must specify at least one package to check builddeps for' aptget build-dep testfailureequal 'E: No architecture information available for armel. See apt.conf(5) APT::Architectures for setup' aptget build-dep --simulate ./foo-1.0 -a armel |