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.

test-xorg-break-providers 1.7 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #!/bin/sh
  2. set -e
  3. TESTDIR=$(readlink -f $(dirname $0))
  4. . $TESTDIR/framework
  5. setupenvironment
  6. configarchitecture "i386"
  7. setupaptarchive
  8. # the new xserver-xorg-core breaks xserver-xorg-video-6
  9. # which both -intel (installed) and -vesa (not installed)
  10. # provided in their old version.
  11. # The test ensures that only -intel will be upgraded
  12. # (together with -core of course) and -vesa not touched.
  13. testequal 'Reading package lists...
  14. Building dependency tree...
  15. The following extra packages will be installed:
  16. xserver-xorg-video-intel
  17. The following packages will be upgraded:
  18. xserver-xorg-core xserver-xorg-video-intel
  19. 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  20. Need to get 0 B/2992 kB of archives.
  21. After this operation, 24.6 kB of additional disk space will be used.
  22. E: Trivial Only specified but this is not a trivial operation.' aptget install xserver-xorg-core --trivial-only
  23. testequal 'Reading package lists...
  24. Building dependency tree...
  25. The following packages will be upgraded:
  26. xserver-xorg-core xserver-xorg-video-intel
  27. 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  28. Need to get 0 B/2992 kB of archives.
  29. After this operation, 24.6 kB of additional disk space will be used.
  30. E: Trivial Only specified but this is not a trivial operation.' aptget upgrade --trivial-only
  31. testequal 'Reading package lists...
  32. Building dependency tree...
  33. The following packages will be upgraded:
  34. xserver-xorg-core xserver-xorg-video-intel
  35. 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  36. Need to get 0 B/2992 kB of archives.
  37. After this operation, 24.6 kB of additional disk space will be used.
  38. E: Trivial Only specified but this is not a trivial operation.' aptget dist-upgrade --trivial-only