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.
 
 
 
 
 
 

27 lines
1.1 KiB

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