[PATCH] email-test-configuration: add helper program to debug configuration

Artem Bityutskiy dedekind1 at gmail.com
Wed May 28 00:27:40 PDT 2014


On Tue, 2014-05-27 at 15:18 -0700, Jacob Keller wrote:
> This script is very useful for debugging the configuration file. It
> takes a snapshot of the environment before and after parse_config and
> after each parse_prj_config, and then uses diff to display the output.
> This makes it very easy to see if the configuration is being read as
> desired. This script has already helped debug an issue in the
> shell_ini_config parser.
> 
> Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
> ---
>  email/aiaiai-email-test-configuration | 115 ++++++++++++++++++++++++++++++++++
>  1 file changed, 115 insertions(+)
>  create mode 100755 email/aiaiai-email-test-configuration
> 
> diff --git a/email/aiaiai-email-test-configuration b/email/aiaiai-email-test-configuration
> new file mode 100755
> index 000000000000..52e4bc4bf041
> --- /dev/null
> +++ b/email/aiaiai-email-test-configuration
> @@ -0,0 +1,115 @@
> +#!/bin/sh -efu
> +
> +# Copyright 2014 Intel Corporation
> +# Author: Jacob Keller
> +# License: GPLv2
> +
> +# Print the changes in environment after parsing the configuration

Could you please add here more text which would clearly state that this
is script is purely for aiaiai debugging purposes. This may save someone
time in the future.

-- 
Best Regards,
Artem Bityutskiy




More information about the aiaiai mailing list