This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The official mkinitcpio repository".
The branch, master has been updated
via b9308a5296fc0dc8da78cd6f02a5af9c38f0a044 (commit)
via a089c8622708d5249aa7830590464fb29dc799a4 (commit)
from d73d34e017ecb0e89c2de8e39da6b14afd6c5f1c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit b9308a5296fc0dc8da78cd6f02a5af9c38f0a044
Author: Dave Reisner
Date: Wed Jul 6 07:22:16 2016 -0400
refactor parse_cmdline into something more readable
This refactors parse_cmdline into a few chunks of code, mainly to
separate the work of parsing from the handling of the actual parsed
parameters. By default, parse_cmdline_item is used as the callback for
handling the parameters, but this could be overriden by other code
sourcing init_functions if desirable.
Our test harness passes more tests, but we leave behind some expected
failures to describe the cases where it still fails. Fortunately I've
not yet been able to find any cases which warrant --expect-parse-fail.
commit a089c8622708d5249aa7830590464fb29dc799a4
Author: Dave Reisner
Date: Wed Jul 6 07:05:51 2016 -0400
add test harness for parse_cmdline
Some of these tests currently fail including hard failures where the
shell quits entirely (this would lead to a kernel panic). A followup
commit will rewrite the parse_cmdline function to improve it and fix
these deficiencies.
-----------------------------------------------------------------------
Summary of changes:
Makefile | 3 +
init_functions | 175 ++++++++++++++++++++++++------------
test/test_parse_cmdline | 233 ++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 353 insertions(+), 58 deletions(-)
create mode 100755 test/test_parse_cmdline
hooks/post-receive
--
The official mkinitcpio repository