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.
 
 
 
 
 
 

23 lines
652 B

  1. #!/bin/sh
  2. set -e
  3. TESTDIR="$(readlink -f "$(dirname "$0")")"
  4. . "$TESTDIR/framework"
  5. setupenvironment
  6. configarchitecture 'amd64'
  7. insertinstalledpackage 'custom' 'amd64' '1.0' 'Pre-Depends: grub-pc | grub'
  8. insertinstalledpackage 'grub' 'amd64' '1.0'
  9. insertpackage 'unstable' 'custom' 'amd64' '2.0' 'Pre-Depends: grub-pc | grub'
  10. setupaptarchive
  11. testsuccessequal 'Reading package lists...
  12. Building dependency tree...
  13. Calculating upgrade...
  14. The following packages will be upgraded:
  15. custom
  16. 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  17. Inst custom [1.0] (2.0 unstable [amd64])
  18. Conf custom (2.0 unstable [amd64])' aptget dist-upgrade -s