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.
 
 
 
 
 
 

65 lines
2.0 KiB

  1. #!/bin/sh
  2. set -e
  3. local TESTDIR=$(readlink -f $(dirname $0))
  4. . $TESTDIR/framework
  5. setupenvironment
  6. configarchitecture "i386"
  7. setupaptarchive
  8. testequal 'Reading package lists...
  9. Building dependency tree...
  10. The following NEW packages will be installed:
  11. g++
  12. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  13. Inst g++ (4:4.4.5-1 localhost [i386])
  14. Conf g++ (4:4.4.5-1 localhost [i386])' aptget install g++ -s
  15. testequal 'Reading package lists...
  16. Building dependency tree...
  17. The following NEW packages will be installed:
  18. g++
  19. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  20. Inst g++ (4:4.4.5-1 localhost [i386])
  21. Conf g++ (4:4.4.5-1 localhost [i386])' aptget install g+++ -s
  22. testequal 'Reading package lists...
  23. Building dependency tree...
  24. The following NEW packages will be installed:
  25. g++
  26. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  27. Inst g++ (4:4.4.5-1 localhost [i386])
  28. Conf g++ (4:4.4.5-1 localhost [i386])' aptget purge g+++ -s
  29. testequal 'Reading package lists...
  30. Building dependency tree...
  31. The following NEW packages will be installed:
  32. apt
  33. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  34. Inst apt (0.8.8 localhost [all])
  35. Conf apt (0.8.8 localhost [all])' aptget install apt -s
  36. testequal 'Reading package lists...
  37. Building dependency tree...
  38. The following NEW packages will be installed:
  39. apt+
  40. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  41. Inst apt+ (0.8.8 localhost [all])
  42. Conf apt+ (0.8.8 localhost [all])' aptget install apt+ -s
  43. testequal 'Reading package lists...
  44. Building dependency tree...
  45. The following NEW packages will be installed:
  46. apt+
  47. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  48. Inst apt+ (0.8.8 localhost [all])
  49. Conf apt+ (0.8.8 localhost [all])' aptget install apt++ -s
  50. testequal 'Reading package lists...
  51. Building dependency tree...
  52. The following NEW packages will be installed:
  53. apt+
  54. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  55. Inst apt+ (0.8.8 localhost [all])
  56. Conf apt+ (0.8.8 localhost [all])' aptget purge apt++ -s