Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BI-AWD
Image Content
Commits
e8649643
Commit
e8649643
authored
1 year ago
by
Lukáš Bařinka
Browse files
Options
Download
Email Patches
Plain Diff
Add output filter to tests
parent
0f810df6
main
tmp
No related merge requests found
Pipeline
#41797
passed with stage
in 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test
+4
-0
test
with
4 additions
and
0 deletions
+4
-0
test
+
4
-
0
View file @
e8649643
...
...
@@ -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" )" \
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets