]> git.saurik.com Git - apt.git/blame - test/integration/test-apt-get-source-multisources
pass --force-remove-essential to dpkg only if needed
[apt.git] / test / integration / test-apt-get-source-multisources
CommitLineData
e62aa1dd
DK
1#!/bin/sh
2set -e
3
3abb6a6a
DK
4TESTDIR="$(readlink -f "$(dirname "$0")")"
5. "$TESTDIR/framework"
e62aa1dd
DK
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
d603afd9 20HEADER='Reading package lists...'
25b86db1 21testsuccessequal "$HEADER
9d2a8a73 22Need to get 0 B/43 B of source archives.
55ae7a51
MV
23'file://${APTARCHIVE}/adduser_3.113+nmu3.dsc' adduser_3.113+nmu3.dsc 22 SHA256:19cc1abe85063976bf71c033f62f3e6bf6621647fe44a6ee31ed687e3fa5cbb7
24'file://${APTARCHIVE}/python-fll_0.9.11.dsc' python-fll_0.9.11.dsc 21 SHA256:51429e835ded66abf6bbc157865af29920435e74aea2836ba1f46443feae9285" aptget source -qdy --print-uris --dsc-only adduser=3.113 python-fll=0.9.11
e62aa1dd 25
25b86db1 26testsuccessequal "$HEADER
9d2a8a73 27Need to get 0 B/43 B of source archives.
55ae7a51
MV
28'file://${APTARCHIVE}/python-fll_0.9.11.dsc' python-fll_0.9.11.dsc 21 SHA256:51429e835ded66abf6bbc157865af29920435e74aea2836ba1f46443feae9285
29'file://${APTARCHIVE}/adduser_3.113+nmu3.dsc' adduser_3.113+nmu3.dsc 22 SHA256:19cc1abe85063976bf71c033f62f3e6bf6621647fe44a6ee31ed687e3fa5cbb7" aptget source -qdy --print-uris --dsc-only python-fll=0.9.11 adduser=3.113