[Bug 1453509] Re: simplify command line by only allowing exactly one test argument

Jean-Baptiste Lallement jean-baptiste.lallement at ubuntu.com
Mon May 11 08:49:04 UTC 2015


I understand but it is annoying for the case you're using the same
configuration file for several packages and just want to change the name
of the package.

For example, if the configuration file contains:
'''
-d
--override-control=control.override
---
qemu
adt-vivid-amd64-cloud.img
'''

And the user wants to specify the package on the command line, you have to use this order: adt-run <PACKAGE> @cfg
In this case adt uses the control file of the package instead of the override.

The other option is to change the configuration file to include the name
of the package for each package.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1453509

Title:
  simplify command line by only allowing exactly one test argument

Status in autopkgtest package in Ubuntu:
  Triaged

Bug description:
  autopkgtest for a dkms module with autodep8.

  Content of local control file:
  '''
  Test-Command: /non-existent
  Restrictions: needs-root, allow-stderr
  Depends: dkms
  '''

  This command fails (as expected)
  adt-run -d --override-control=dkms/dkms.control asic0x --- qemu adt-vivid-amd64-cloud.img

  But this command passes:
  adt-run asic0x -d --override-control=dkms/dkms.control --- qemu adt-vivid-amd64-cloud.img

  In the second case, the test uses the control file generated by
  autodep8 instead of the control file provided on the command line.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: autopkgtest 3.14
  ProcVersionSignature: Ubuntu 3.19.0-16.16-generic 3.19.3
  Uname: Linux 3.19.0-16-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sun May 10 11:03:40 2015
  InstallationDate: Installed on 2013-09-03 (613 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
  PackageArchitecture: all
  SourcePackage: autopkgtest
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1453509/+subscriptions



More information about the foundations-bugs mailing list