[LTP] [PATCH 1/4] lib/tst_tmpdir: Normalize user defined TMPDIR

Cyril Hrubis chrubis@suse.cz
Fri Feb 23 16:41:24 CET 2024


Hi!
> +	if (fixed) {
> +		tst_resm(TINFO, "WARNING: Remove double or trailing slashes from TMPDIR,"
> +			 " please fix your setup to: TMPDIR='%s'",
> +			 env_tmpdir);
> +	}

Also why do we bother with a warning when we fixed the path. I would
either fix it and go on or fail the test if it's detected.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list