~jibel/update-manager/AutoUpgradeTester-desktoptests

« back to all changes in this revision

Viewing changes to AutoUpgradeTester/UpgradeTestBackendSSH.py

  • Committer: Jean-Baptiste Lallement
  • Date: 2012-01-18 14:45:04 UTC
  • Revision ID: jean-baptiste.lallement@ubuntu.com-20120118144504-irrd6yhr4i1v5viy
* Catch debconf prompts and added associated post upgrade test
* Fixed classname in Junit XML result file to refer to the test name instead
  of an unamed class. It makes results prettier in jenkins
* DistUpgradeViewNonInteractive.py: Only set frontend if it is not already set
  in the environment

Show diffs side-by-side

added added

removed removed

Lines of Context:
206
206
 
207
207
        # check for conffiles (the copy is done via a post upgrade script)
208
208
        self._copyFromImage("/tmp/*.dpkg-dist", self.resultdir)
 
209
        # Collect debconf prompts generated by debconf_test.py script
 
210
        self._copyFromImage("/tmp/debconf_*.log", self.resultdir)
209
211
        self.resultsToJunitXML(results, os.path.join(self.resultdir, 'results.xml'))
210
212
 
211
213
        self.stop()