Files
NLnetLabs-krill/daemon/tests/embedded_trust_anchor.rs
T

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);
});
}