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

Created by James Hunt and last modified
Get this branch:
bzr branch lp:~jamesodhunt/snappy/selftest-add-pkg-removal-tests
Only James Hunt can upload to this branch. If you are James Hunt please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
James Hunt
Project:
Snappy
Status:
Merged

Recent revisions

32. By James Hunt

* Sync with lp:snappy/selftest.

31. By James Hunt

* tests/12_test_remove_hello:
  - Added missing sudo call.
* tests/13_test_remove_invalid:
  - Added missing sudo call.
  - Updated for changed message.

30. By James Hunt

* Add 2 package removal tests:
  - tests/12_test_remove_hello
  - tests/13_test_remove_invalid

29. By Martin Pitt

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.

28. By Martin Pitt

Directly show output of tests

Show output of tests immediately instead of capturing it into a variable and
only showing it after test() fails. With that you can see what's going on with
rebooting tests, see SKIP messages, get more useful logs, and potentially see
error messages which cause hangs.

27. By Martin Pitt

Test that service starts after reboot

Update tests/07_test_install_webdm to also check that webdm starts after
rebooting, if we run on a testbed that supports reboot.

26. By Martin Pitt

Add framework for rebooting tests under autopkgtest

Add three new methods to framework:

 - can_reboot(): checking reboot capability (false if not run under
   autopkgtest, or on a testbed which doesn't offer reboot)

 - reboot(): Reboot testbed

 - after_reboot(): Tests need to call this at the beginning to check whether
   they are running before or after the requested reboot.

The test runner will make sure to resume a test which requested a reboot.

25. By Sergio Schvezov

Making self test arch independent (docker is not available on armhf)

24. By Michael Vogt

make SNAPPY cmd configurable

23. By James Hunt

* Update test for new binary name.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~snappy-dev/snappy/snappy-moved-to-github
This branch contains Public information 
Everyone can see this information.

Subscribers