Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add environment var support to runtime tests
Some `bpftrace` behaviour can only be modified by environment vars. To make that testable the test suite needs to allow for env vars. It supports both multiple `key=value` options on a single line and multiple `ENV` lines, merging them in the order in which they're read. So: ``` RUN xxx ENV X=1 Y=2 ``` and ``` RUN xxx ENV X=1 ENV Y=2 ``` Are identical.
- Loading branch information
Showing
2 changed files
with
10 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters