-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
mod testhive; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
use std::path::PathBuf; | ||
|
||
use assert_cmd::Command; | ||
|
||
#[test] | ||
fn scan_testhive() { | ||
let mut cmd = Command::cargo_bin("hivescan").unwrap(); | ||
let mut data_path = PathBuf::from(std::env::var("CARGO_MANIFEST_DIR").unwrap()); | ||
data_path.push("tests"); | ||
data_path.push("data"); | ||
data_path.push("hivescan"); | ||
data_path.push("testhive"); | ||
cmd.arg(data_path).assert().success(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
mod mactime2; | ||
mod ts2date; | ||
mod lnk2bodyfile; | ||
mod lnk2bodyfile; | ||
mod hivescan; |