~ahasenack/utah/one-more-vmlinuz-rename-1766947

« back to all changes in this revision

Viewing changes to utah/isotest/iso_static_validation.py

  • Committer: Joshua Powers
  • Date: 2018-02-28 21:36:51 UTC
  • Revision ID: josh.powers@canonical.com-20180228213651-hmsn126fo3vbkeai
Add the ability to test live-server ppc64el ISOs

Updates the method used on casper images to determine if it is desktop
or live-server by looking at .disk/info

Show diffs side-by-side

added added

removed removed

Lines of Context:
380
380
        logging.debug('Check for error in extracting file list from the iso')
381
381
        self.assertEqual(stderr, '')
382
382
 
383
 
        files_list = open(os.path.join(DATA_PATH, 'file_list_subiquity'))
 
383
        if self.st_arch == 'ppc64el':
 
384
            files_list = open(os.path.join(DATA_PATH,
 
385
                              'file_list_subiquity_powerpc'))
 
386
        else:
 
387
            files_list = open(os.path.join(DATA_PATH, 'file_list_subiquity'))
 
388
 
384
389
        for list_server in files_list:
385
390
            logging.debug('check if important d-i files are present in iso')
386
391
            path = list_server.rstrip()