Bug#828025: autopkgtest cmd sensitive to PWD when passed an absolute path to a .changes file

Martin Pitt mpitt at debian.org
Sun Jun 26 19:50:41 UTC 2016


Control: tag -1 moreinfo

Hello Sean,

Sean Whitton [2016-06-24  9:48 +0900]:
> 
> When passing an absolute path to a changes file to autopkgtest, e.g.
> 
>     $ autopkgtest /home/spwhitton/src/foo_1.0.0_i386.changes -- schroot unstable-i386-sbuild
> 
> autopkgtest fails and prints a usage message unless the PWD is
> /home/spwhitton/src/foo.  If the PWD is /home/spwhitton/src or anywhere
> else:
> 
>     usage: autopkgtest [options] [testbinary ...] testsrc -- virt-server [options]
>     autopkgtest: error: You must specify source or click package to test

I strongly suspect your .changes file only contains binaries, not a
source. So normally it would print this error, unless you are *in* the
root dir of a source package, which is used in case you don't specify
any source package as argument.

Please confirm that this is the case.

> autopkgtest should look for the .dsc mentioned in the .changes file in
> the directory containing the .changes file.

It already does that.

Thanks,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20160626/969ae66e/attachment.sig>


More information about the autopkgtest-devel mailing list