[Piuparts-devel] Bug#703902: Bug#703902: Bug#703902: RFC: feature/adequate

Jakub Wilk jwilk at debian.org
Fri May 17 12:45:42 UTC 2013


* Holger Levsen <holger at layer-acht.org>, 2013-05-17, 14:16:
>>It would be good to print a warning if adequate exits with non-zero 
>>exit code. As as said on IRC, this would normally indicate a bug in 
>>adequate itself, but let's not sweep such bugs under the carpet. :) 
>></wishlist>
>right. do you know a way to force adequate like this? Or will I have to 
>link it to false to test my code? :)

Maybe ask it to check a non-existent package:

$ adequate piupartz
dpkg-query: no packages found matching piupartz
dpkg-query -W: failed at /usr/bin/adequate line 174.
$ echo $?
1

-- 
Jakub Wilk



More information about the Piuparts-devel mailing list