[LTP] [PATCH v2 2/3] tst_test: Print environment variables on -h
Tim.Bird@sony.com
Tim.Bird@sony.com
Tue Dec 14 17:44:50 CET 2021
> -----Original Message-----
> From: ltp <ltp-bounces+tim.bird=sony.com@lists.linux.it> On Behalf Of Petr Vorel
>
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
> ---
> new in v2
>
> lib/tst_test.c | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/lib/tst_test.c b/lib/tst_test.c
> index 265df6543b..f92ff858e9 100644
> --- a/lib/tst_test.c
> +++ b/lib/tst_test.c
> @@ -475,6 +475,19 @@ static void print_help(void)
> {
> unsigned int i;
>
> + /* see doc/user-guide.txt, which lists also shell API variables */
> + fprintf(stderr, "Environment Variables\n");
> + fprintf(stderr, "---------------------\n");
> + fprintf(stderr, "KCONFIG_PATH Specify kernel config file\n");
> + fprintf(stderr, "LTPROOT Prefix for installed LTP, the default is /opt/ltp\n");
> + fprintf(stderr, "LTP_COLORIZE_OUTPUT Force colorized output behaviour (y/1 always, n/0: never)\n");
> + fprintf(stderr, "LTP_DEV Path to the block device to be used (for .needs_device)\n");
> + fprintf(stderr, "LTP_DEV_FS_TYPE Filesystem used for testing (default: %s)\n", DEFAULT_FS_TYPE);
> + fprintf(stderr, "LTP_TIMEOUT_MUL Multiply timeout (must be number >= 1)\n");
I think this should this be: "Timeout multiplier (must be a number >=1, should be an integer)
> + fprintf(stderr, "LTP_VIRT_OVERRIDE Overrides virtual machine detection (values: \"\"|kvm|microsoft|xen|zvm\n");
> + fprintf(stderr, "TMPDIR Base directory for template directory (for .needs_tmpdir, default: %s)\n", TEMPDIR);
> + fprintf(stderr, "\n");
> +
> fprintf(stderr, "Options\n");
> fprintf(stderr, "-------\n");
>
> --
> 2.34.1
-- Tim
More information about the ltp
mailing list