Skip to content

Commit

Permalink
Grep new output for linked modules in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
scaronni committed Jan 30, 2025
1 parent 43fae20 commit 132da5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,9 @@ run_status_with_expected_output() {
generalize_expected_output() {
local output_log=$1

# On CentOS, weak-modules is executed. Drop it from the output, to be more generic
sed -i '/^Adding any weak-modules$/d' ${output_log}
sed -i '/^Removing any linked weak-modules$/d' ${output_log}
# On Red Hat and SUSE based distributions, weak-modules is executed. Drop it from the output, to be more generic
sed -i '/^Adding linked weak modules$/d' ${output_log}
sed -i '/^Removing linked weak modules$/d' ${output_log}
# Signing related output. Drop it from the output, to be more generic
if (( NO_SIGNING_TOOL == 0 )); then
sed -i '/^EFI variables are not supported on this system/d' ${output_log}
Expand Down

0 comments on commit 132da5f

Please sign in to comment.