~ubuntu-branches/debian/sid/autopkgtest/sid

Viewing all changes in revision 138.

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2015-05-05 10:14:23 UTC
  • mfrom: (110.2.16 sid)
  • Revision ID: package-import@ubuntu.com-20150505101423-e0hl60nd5ez1h09m
Improvements:
* adt-virt-ssh: Add --reboot option to indicate that testbed can be
  rebooted. This is useful when running without a setup script (which can
  already declare capabilities).
* Simplify reboot implementation: Just call "reboot" as root in the testbed
  to trigger rebooting, and replace the former hook_reboot() in adt-virt-*
  with hook_wait_reboot() which merely waits for the testbed to go down and
  come back up. This also replaces the "reboot" command for ssh setup
  scripts to "wait-reboot" and in most cases it is not needed to implement
  this at all (except for the "adb" script).
* Add /tmp/autopkgtest-reboot-prepare script for testbeds which support
  rebooting. This saves the current state but leaves the actual reboot to
  the test itself. This is useful if rebooting should happen with unusual
  means (e. g. kexec) or as part of testing something else (like a system
  upgrade). (LP: #1445819)
* Log complete command line invocation, for easier local reproduction,
  comparison of log files, and clarifying which options were used.
  (LP: #1449413)

Bug fixes:
* Update Vcs-Git: field for anonscm.debian.org.
* Drop obsolete XS-Testsuite: control field.
* adt-setup-vm: Fix script error if $ADT_SETUP_VM_POST_COMMAND is not set.
* README.click-tests.rst: Describe x-source manifest entry.
* Mark test dependencies as manually installed, so that they don't go away
  if a test calls "apt-get autoremove".
* Set DEBIAN_FRONTEND=noninteractive for tests. This avoids stderr messages
  about "unable to open stdin" and similar when tests call apt-get install.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: