X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fbash%2Ffunction%2Fper_patch.sh;fp=resources%2Flibraries%2Fbash%2Ffunction%2Fper_patch.sh;h=2149d79b52f13ff2a5eb62c70f1355e063d81002;hp=3ded218e891f68d21a00b4d464b3657e2f2babaa;hb=67b6b53603161ac0404451673b3c9b96d0ff2af1;hpb=1f7bfaf0f94fe68aadf41fde09b57c2f3171dea9 diff --git a/resources/libraries/bash/function/per_patch.sh b/resources/libraries/bash/function/per_patch.sh index 3ded218e89..2149d79b52 100644 --- a/resources/libraries/bash/function/per_patch.sh +++ b/resources/libraries/bash/function/per_patch.sh @@ -176,7 +176,7 @@ function parse_bmrr_results () { # TODO: Do we need to check echo exit code explicitly? echo "Parsing ${in_file} putting results into ${out_file}" echo "TODO: Re-use parts of PAL when they support subsample test parsing." - pattern='Maximum Receive Rate trial results in packets' + pattern='Maximum Receive Rate trial results in .*' pattern+=' per second: .*\]' grep -o "${pattern}" "${in_file}" | grep -o '\[.*\]' > "${out_file}" || { die "Some parsing grep command has failed."