skip-avoid-avoiding-breaks-predepends 710 B

12345678910111213141516171819202122
  1. #!/bin/sh
  2. set -e
  3. TESTDIR="$(readlink -f "$(dirname "$0")")"
  4. . "$TESTDIR/framework"
  5. setupenvironment
  6. configarchitecture 'native'
  7. insertinstalledpackage 'looping' 'native' '1'
  8. insertinstalledpackage 'loop1' 'native' '1' 'Depends: loop2 (= 1)'
  9. insertinstalledpackage 'loop2' 'native' '1' 'Depends: loop1 (= 1)'
  10. buildsimplenativepackage 'looping' 'native' '1.15.7.2' 'stable' 'Breaks: loop2 (<= 1)'
  11. buildsimplenativepackage 'loop1' 'native' '2' 'stable' 'Depends: loop2 (= 2)'
  12. buildsimplenativepackage 'loop2' 'native' '2' 'stable' 'Depends: loop1 (= 2)
  13. Pre-Depends: looping (>= 1.15)'
  14. setupaptarchive
  15. aptget dist-upgrade -y -o Debug::pkgOrderList=1 #-qq >/dev/null 2>&1
  16. testdpkginstalled looping loop1 loop2