]> git.saurik.com Git - apt.git/blob - test/integration/test-apt-get-source-multisources
do delay the test for http, too, to make it more reliable
[apt.git] / test / integration / test-apt-get-source-multisources
1 #!/bin/sh
2 set -e
3
4 TESTDIR=$(readlink -f $(dirname $0))
5 . $TESTDIR/framework
6
7 setupenvironment
8 configarchitecture 'armhf'
9
10 insertsource 'unstable' 'adduser' 'all' '3.113+nmu3'
11 insertsource 'stable' 'python-fll' 'all' '0.9.11'
12
13 insertpackage 'unstable' 'adduser' 'all' '3.113+nmu3'
14 insertpackage 'stable' 'python-fll' 'all' '0.9.11'
15
16 setupaptarchive
17
18 APTARCHIVE=$(readlink -f ./aptarchive)
19
20 HEADER="Reading package lists...
21 Building dependency tree..."
22 testsuccessequal "$HEADER
23 Need to get 0 B/43 B of source archives.
24 'file://${APTARCHIVE}/adduser_3.113+nmu3.dsc' adduser_3.113+nmu3.dsc 22 MD5Sum:255405ab5af211238ef53b7a1dd8ca4b
25 'file://${APTARCHIVE}/python-fll_0.9.11.dsc' python-fll_0.9.11.dsc 21 MD5Sum:740a9dbf02a295932f15b1415d0dc0df" aptget source -qdy --print-uris --dsc-only adduser=3.113 python-fll=0.9.11
26
27 testsuccessequal "$HEADER
28 Need to get 0 B/43 B of source archives.
29 'file://${APTARCHIVE}/python-fll_0.9.11.dsc' python-fll_0.9.11.dsc 21 MD5Sum:740a9dbf02a295932f15b1415d0dc0df
30 'file://${APTARCHIVE}/adduser_3.113+nmu3.dsc' adduser_3.113+nmu3.dsc 22 MD5Sum:255405ab5af211238ef53b7a1dd8ca4b" aptget source -qdy --print-uris --dsc-only python-fll=0.9.11 adduser=3.113