[PATCH blktests] nvme/053: do not use awk

Shinichiro Kawasaki shinichiro.kawasaki at wdc.com
Mon Jan 27 01:02:05 PST 2025


On Jan 16, 2025 / 16:17, Shin'ichiro Kawasaki wrote:
> Luis observed that the test case nvme/053 fails in his environment [1]
> due to the following awk error message:
> 
>  awk: ...rescan.awk:2: warning: The time extension is obsolete.
>  Use the timex extension from gawkextlib
> 
> To avoid the failure and reduce dependencies, do not use awk in the test
> case. Instead, introduce the bash function get_sleep_time() to calculate
> the sleep time. Also implement the controller rescan loop in bash,
> following Martin's original patch [2].
> 
> [1] https://lore.kernel.org/linux-block/20241218111340.3912034-1-mcgrof@kernel.org/
> [2] https://lore.kernel.org/linux-nvme/20240822193814.106111-3-mwilck@suse.com/
> 
> Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki at wdc.com>

FYI, I applied this patch.


More information about the Linux-nvme mailing list