blob: bf83e2dc71695d33f655df4682a840c3b5e8ec80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
extern crate assert_cli;
#[cfg(test)]
mod integration {
use std::path;
use assert_cli::Assert;
#[test]
fn bad_subkey() {
Assert::cargo_binary("sqv")
.current_dir(path::Path::new("tests").join("data"))
.with_args(&["--keyring", "bad-subkey-keyring.pgp",
"bad-subkey.txt.sig", "bad-subkey.txt"])
.stdout().is("8F17777118A33DDA9BA48E62AACB3243630052D9")
.unwrap();
}
}
|