(name: &str, expected: &str)
| 162 | } |
| 163 | |
| 164 | fn env_check_script(name: &str, expected: &str) -> String { |
| 165 | let expected: String = expected.quoted(Bash); |
| 166 | format!( |
| 167 | r#" |
| 168 | if [ "${name}" != {expected} ]; then |
| 169 | echo "FAIL: Environment variable not set correctly" |
| 170 | echo "Got: '${name}'" |
| 171 | exit 1 |
| 172 | fi |
| 173 | "# |
| 174 | ) |
| 175 | } |
| 176 | |
| 177 | #[rstest] |
| 178 | fn executor_runs_script( |
no outgoing calls
no test coverage detected