[PATCH 1/1] tests: skip tests if strace is not functional

Christian Hesse list at eworm.de
Wed Dec 11 11:05:43 CET 2019


"Jason A. Donenfeld" <Jason at zx2c4.com> on Wed, 2019/12/11 11:00:
> On Wed, Dec 11, 2019 at 10:59 AM Jason A. Donenfeld <Jason at zx2c4.com> wrote:
> >
> > That's a good idea. Thanks. Queue it up.  
> 
> Actually, wait.
> 
> Wouldn't it be better to do this as:
> 
> `strace true >/dev/null 2>&1 || { skip_all....`

Right... I should have tested both cases. :-p

Forced pushed with updated patch.
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Best regards             my address:    */=0;b=c[a++];)
putchar(b-1/(/*    Chris            cc -ox -xc - && ./x    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20191211/55fb045e/attachment-0001.asc>


More information about the CGit mailing list