[Toybox] [PATCH] Add tests for head, fix a small output bug

Tim Elliott tle at holymonkey.com
Thu Feb 9 23:29:24 PST 2012


Add tests for head

This exposed one issue in head.c -- printf was not flushing and
file names could appear after file contents instead of before.

 scripts/test/head.test |  17 +++++++++++++++++
 toys/head.c            |   1 +
 2 files changed, 18 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: head_tests.patch
Type: text/x-patch
Size: 1541 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20120209/c924068b/attachment-0006.bin>


More information about the Toybox mailing list