]> git.saurik.com Git - apt.git/blame - test/integration/test-apt-get-source-multisources
Merge remote-tracking branch 'upstream/debian/experimental' into feature/no-more...
[apt.git] / test / integration / test-apt-get-source-multisources
CommitLineData
e62aa1dd
DK
1#!/bin/sh
2set -e
3
4TESTDIR=$(readlink -f $(dirname $0))
5. $TESTDIR/framework
6
7setupenvironment
8configarchitecture 'armhf'
9
10insertsource 'unstable' 'adduser' 'all' '3.113+nmu3'
11insertsource 'stable' 'python-fll' 'all' '0.9.11'
12
13insertpackage 'unstable' 'adduser' 'all' '3.113+nmu3'
14insertpackage 'stable' 'python-fll' 'all' '0.9.11'
15
16setupaptarchive
17
18APTARCHIVE=$(readlink -f ./aptarchive)
19
20HEADER="Reading package lists...
21Building dependency tree..."
22testequal "$HEADER
23Need to get 0 B of source archives.
24'file://${APTARCHIVE}/adduser_3.113+nmu3.dsc' adduser_3.113+nmu3.dsc 0 MD5Sum:d41d8cd98f00b204e9800998ecf8427e
25'file://${APTARCHIVE}/python-fll_0.9.11.dsc' python-fll_0.9.11.dsc 0 MD5Sum:d41d8cd98f00b204e9800998ecf8427e" aptget source -qdy --print-uris --dsc-only adduser=3.113 python-fll=0.9.11
26
27testequal "$HEADER
28Need to get 0 B of source archives.
29'file://${APTARCHIVE}/python-fll_0.9.11.dsc' python-fll_0.9.11.dsc 0 MD5Sum:d41d8cd98f00b204e9800998ecf8427e
30'file://${APTARCHIVE}/adduser_3.113+nmu3.dsc' adduser_3.113+nmu3.dsc 0 MD5Sum:d41d8cd98f00b204e9800998ecf8427e" aptget source -qdy --print-uris --dsc-only python-fll=0.9.11 adduser=3.113