0ff44ca6e8
The function is pretty broken right now. To start with the -o/--omit option allows a quoted, space separated list of modules. But using 'set' breaks quotation and thus only considers the first element in the list. Furthermore dracut uses getopt internally. This means that it is also possible to pass the list via --omit=. Fix the function by making use of getopt for parsing the dracut_args. While at it also add a test cases to cover the functions. Signed-off-by: Philipp Rudo <prudo@redhat.com> Reviewed-by: Coiby Xu <coxu@redhat.com> |
||
---|---|---|
.. | ||
support | ||
kdump-lib_spec.sh | ||
kdump-lib-initramfs_spec.sh | ||
kdumpctl_general_spec.sh | ||
kdumpctl_reset_crashkernel_spec.sh |