~jamesodhunt/snappy/selftest-add-pkg-removal-tests

Viewing all changes in revision 29.

  • Committer: Martin Pitt
  • Date: 2015-03-02 11:51:21 UTC
  • Revision ID: martin.pitt@canonical.com-20150302115121-8bjjxwrvaxs58jr8
Add upgrade/rollback test

If there is a newer image version to upgrade to, do that, ensure that we
upgraded to the expected latest version, roll back, and ensure that we are back
to where we started.

The test gets skipped if there is no newer version to upgrade to, or if it's
run without autopkgtest, or on an autopkgtest runner which doesn't offer
reboot.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: