OR dependencies in debian/tests/control cause failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autopkgtest (Debian) |
Fix Released
|
Unknown
|
|||
autopkgtest (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
From the failing lintian test:
badpkg: Test Depends field contains an invalid dependency `perl (>= 5.12) | libtest-simple-perl (>= 0.93)'
adt-run: erroneous package: Test Depends field contains an invalid dependency `perl (>= 5.12) | libtest-simple-perl (>= 0.93)'
adt-run: trace: ** stop
README.
Depends: <dpkg dependency field syntax>
Declares that the specified packages must be installed for the
test to go ahead. `@' stands for the package(s) generated by the
source package containing the tests; each dependency (strictly,
or-clause, which may contain `|'s but not commas) containing `@'
is replicated once for each such binary package, with the binary
package name substituted for each `@' (but normally `@' should
occur only once and without a version restriction).
If no Depends field is present, `Depends: @' is assumed. Note
that the source tree's Build-Dependencies are _not_ necessarily
installed, and if you specify any Depends, no binary packages from
the source are installed unless explicitly requested.
Changed in autopkgtest (Debian): | |
status: | Unknown → New |
Changed in autopkgtest (Debian): | |
status: | New → Fix Released |
Fixed in 2.2.4.