mirror of
https://github.com/NLnetLabs/krill.git
synced 2026-09-21 08:57:47 +02:00
21 lines
651 B
Rust
21 lines
651 B
Rust
extern crate krill_daemon;
|
|
extern crate krill_client;
|
|
extern crate krill_commons;
|
|
|
|
use krill_daemon::test::{ test_with_krill_server, execute_krillc_command };
|
|
use krill_client::options::{Command, TrustAnchorCommand};
|
|
|
|
#[test]
|
|
fn embedded_trust_anchor() {
|
|
test_with_krill_server(|_d|{
|
|
|
|
let command = Command::TrustAnchor(TrustAnchorCommand::Init);
|
|
execute_krillc_command(command);
|
|
|
|
let command = Command::TrustAnchor(TrustAnchorCommand::Show);
|
|
execute_krillc_command(command);
|
|
|
|
// let command = Command::TrustAnchor(TrustAnchorCommand::Publish);
|
|
// let _res = execute_krillc_command(command);
|
|
});
|
|
} |