unsupported operation: can't call foreign function `pipe2` on OS `linux`
()
| 22 | #[mz_ore::test] |
| 23 | #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `pipe2` on OS `linux` |
| 24 | fn test_version() { |
| 25 | // We don't make assertions about the build SHA because caching in CI can |
| 26 | // cause the test binary and `environmentd` to have different embedded SHAs. |
| 27 | let expected_version = mz_environmentd::BUILD_INFO.version; |
| 28 | assert!(!expected_version.is_empty()); |
| 29 | cmd() |
| 30 | .arg("-V") |
| 31 | .assert() |
| 32 | .success() |
| 33 | .stdout(predicates::str::starts_with(format!( |
| 34 | "environmentd v{}", |
| 35 | expected_version |
| 36 | ))); |
| 37 | } |
nothing calls this directly
no test coverage detected