Re: [PATCH blktests] nvme/053: do not use awk
From: Shinichiro Kawasaki <hidden>
Date: 2025-01-27 09:02:13
Also in:
linux-nvme
From: Shinichiro Kawasaki <hidden>
Date: 2025-01-27 09:02:13
Also in:
linux-nvme
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/ (local) [2] https://lore.kernel.org/linux-nvme/20240822193814.106111-3-mwilck@suse.com/ (local) Signed-off-by: Shin'ichiro Kawasaki <redacted>
FYI, I applied this patch.