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.
 
 
 
 
 
 

22 lines
479 B

  1. #!/bin/sh
  2. set -e
  3. TESTDIR="$(readlink -f "$(dirname "$0")")"
  4. . "$TESTDIR/framework"
  5. setupenvironment
  6. TMPDIR=$(readlink -f .)
  7. insertinstalledpackage 'worldofgoo' 'all' '1'
  8. insertpackage 'unstable' 'WorldOfGoo' 'all' '1'
  9. setupaptarchive
  10. testsuccessequal "worldofgoo:
  11. Installed: 1
  12. Candidate: 1
  13. Version table:
  14. *** 1 500
  15. 500 file:${TMPDIR}/aptarchive unstable/main all Packages
  16. 100 ${TMPDIR}/rootdir/var/lib/dpkg/status" \
  17. aptcache policy worldofgoo