From 3d17a7038a7cfe3d697dfb38e2704098e7fab80f Mon Sep 17 00:00:00 2001 From: Gabriela Cervantes Date: Tue, 23 Jul 2024 17:13:52 +0000 Subject: [PATCH] metrics: Update launch times to use grep -F This PR updates the metrics launch times to use grep -F instead of fgrep as this command has been deprecated. Signed-off-by: Gabriela Cervantes --- tests/metrics/time/launch_times.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/metrics/time/launch_times.sh b/tests/metrics/time/launch_times.sh index a9d61187a..f2e689019 100755 --- a/tests/metrics/time/launch_times.sh +++ b/tests/metrics/time/launch_times.sh @@ -134,7 +134,7 @@ function run_workload() { # We make a presumption here that as we are in a cold-boot VM # kernel, the first dmesg is at '0 seconds', so the timestamp # of that last line is the length of time in the kernel. - kernel_last_line=$( (fgrep "Freeing unused kernel" <<- EOF + kernel_last_line=$( (grep -F "Freeing unused kernel" <<- EOF ${workload_result[@]} EOF ) | tail -1 )