[Toybox] [PATCH] Fix remaining pkill tests.

enh enh at google.com
Mon May 23 11:06:42 PDT 2016


I don't know that anyone cares, but these failures made me think I'd
broken something while testing the -SIGNAL patch.

The -s parsing wasn't taking into account that -s 0 is a special case,
and the -o test was assuming that pkill can tell the difference between
two processes started at roughly the same time. Hopefully there's
higher-resolution data available that can avoid the need for yet another
sleep in the tests.
---
 tests/pkill.test | 1 +
 toys/posix/ps.c  | 2 ++
 2 files changed, 3 insertions(+)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-remaining-pkill-tests.patch
Type: text/x-patch
Size: 1434 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20160523/8aaf4a36/attachment-0003.bin>


More information about the Toybox mailing list