[pkg-bacula-devel] autopkgtest: A choice to be made

Carsten Leonhardt leo at debian.org
Sat Nov 24 18:25:10 GMT 2018


> After the failure to edit bash yesterday, I looked into changing the
> autopkgtests to fail in such a case.
> One way would be to remove "allow-stderr" from the test definition, but
> for this to work we need to remove "set -v" from the test script.
> This will reduce the visibility of programs executed (unless we add more
> echos about what is going to be done or you know a way to just get the
> output from "-v" to STDOUT but leave the STDERR of every other programm
> intact) but will catch errors like the one I had.
> I am currently torn on how to proceed here.

there may be a way to redirect messages correctly, but straightforward
and easy to understand would be to use echo (maybe a function
"exec_verbose" that first prints the command line and then executes

 - Carsten

More information about the pkg-bacula-devel mailing list