You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

31 lines
1.3 KiB

  1. #!/bin/sh
  2. set -e
  3. TESTDIR="$(readlink -f "$(dirname "$0")")"
  4. . "$TESTDIR/framework"
  5. setupenvironment
  6. configarchitecture 'armhf'
  7. insertsource 'unstable' 'adduser' 'all' '3.113+nmu3'
  8. insertsource 'stable' 'python-fll' 'all' '0.9.11'
  9. insertpackage 'unstable' 'adduser' 'all' '3.113+nmu3'
  10. insertpackage 'stable' 'python-fll' 'all' '0.9.11'
  11. setupaptarchive
  12. APTARCHIVE=$(readlink -f ./aptarchive)
  13. HEADER="Reading package lists...
  14. Building dependency tree..."
  15. testsuccessequal "$HEADER
  16. Need to get 0 B/43 B of source archives.
  17. 'file://${APTARCHIVE}/adduser_3.113+nmu3.dsc' adduser_3.113+nmu3.dsc 22 SHA256:19cc1abe85063976bf71c033f62f3e6bf6621647fe44a6ee31ed687e3fa5cbb7
  18. '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
  19. testsuccessequal "$HEADER
  20. Need to get 0 B/43 B of source archives.
  21. 'file://${APTARCHIVE}/python-fll_0.9.11.dsc' python-fll_0.9.11.dsc 21 SHA256:51429e835ded66abf6bbc157865af29920435e74aea2836ba1f46443feae9285
  22. '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