[LTP] [PATCH 1/1] ima_measurements.sh: Use /proc/uptime instead of date

Mimi Zohar zohar@linux.ibm.com
Fri Jan 14 02:11:45 CET 2022


On Wed, 2022-01-12 at 16:01 +0100, Petr Vorel wrote:
> It fixes more iterations (e.g. -i2) which is more precise.
> date +%s could be used, but it's better use procfs file instead
> requiring binary.
> 
> Signed-off-by: Petr Vorel <pvorel@suse.cz>

Thanks, Petr.

Reviewed-by: Mimi Zohar <zohar@linux.ibm.com>



More information about the ltp mailing list