Commit e8649643 authored by Lukáš Bařinka's avatar Lukáš Bařinka
Browse files

Add output filter to tests

parent 0f810df6
No related merge requests found
Pipeline #41797 passed with stage
in 30 seconds
Showing with 4 additions and 0 deletions
+4 -0
......@@ -57,6 +57,10 @@ test_content() {
equal 'Content' \
"$( < "${test%_*}_c" )" \
"$( sed '1,/^$/d' <<< "${output}" | sed -Ef "${test%_*}_ca" )"
elif [[ -f "${test%_*}_cf" ]]; then
equal 'Content' \
"$( bash "${test%_*}_cf" < "${test%_*}_c" )" \
"$( sed '1,/^$/d' <<< "${output}" | bash "${test%_*}_cf" )"
else
equal 'Content' \
"$( < "${test%_*}_c" )" \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment