dep8 test: redirect stderr to stdout and exit with appropriate code
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tabix (Debian) |
Fix Released
|
Unknown
|
|||
tabix (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
autopkgtest of tabix currently fails with:
adt-run: trace: & dsc0t-with-
dsc0t-with-
adt-run: trace: & dsc0t-with-
[tabix] The file type not recognised and -p not given, using the preset [gff].
adt-run: trace: & dsc0t-with-
This is because the warning is written to stderr while per specification of DEP8 it should be written to stdout.
Excerpt from http://
"""
Each test program should, on success, exit with status 0 and print nothing to stderr; if a test exits nonzero, or prints to stderr, it is considered to have failed.
"""
The dep8 test should be updated either to use the option -p of tabix to fix the message or redirect stderr to stdout and exit with an appropriate exit code.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: tabix (not installed)
ProcVersionSign
Uname: Linux 3.5.0-3-generic x86_64
ApportVersion: 2.2.5-0ubuntu2
Architecture: amd64
Date: Fri Jul 6 00:06:59 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64+mac (20120328)
ProcEnviron:
TERM=xterm
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: tabix
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in tabix (Debian): | |
status: | Unknown → New |
Changed in tabix (Debian): | |
status: | New → Fix Committed |
Changed in tabix (Debian): | |
status: | Fix Committed → Fix Released |
This bug was fixed in the package tabix - 0.2.6-1git1
---------------
tabix (0.2.6-1git1) raring; urgency=low
Upload current Debian packaging git to fix autopkgtest error.
[ Charles Plessy ]
b8d4e98 Indicate format to avoid stderr comment that makes autopkgtest fail.
Closes: #680473, LP: #1021500
-- Martin Pitt <email address hidden> Wed, 21 Nov 2012 07:55:30 +0100