asterinas/services/libs/comp-sys/cargo-component/tests/regression.rs

12 lines
274 B
Rust
Raw Normal View History

2023-02-07 08:05:21 +00:00
//! This test checks that visiting controlled resources in whitelist is allowed.
#![feature(once_cell)]
mod test_utils;
#[test]
fn regression() {
2023-03-08 07:42:21 +00:00
let stderr = run_cargo_component_cmd!();
assert!(!stderr.contains("access controlled entry point is disallowed"));
2023-02-07 08:05:21 +00:00
}