Replace lexical Rust fragments with real modules
This commit is contained in:
parent
f8849cdb5f
commit
247819250b
1 changed files with 3302 additions and 2671 deletions
|
|
@ -37,7 +37,10 @@ struct TestDirectory(PathBuf);
|
|||
|
||||
impl TestDirectory {
|
||||
fn create(name: &str) -> TestResult<Self> {
|
||||
let path = std::env::temp_dir().join(format!(
|
||||
let parent = PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("../../target/t/escalation");
|
||||
std::fs::create_dir_all(&parent)?;
|
||||
let parent = parent.canonicalize()?;
|
||||
let path = parent.join(format!(
|
||||
"lazaret-escalation-{name}-{}-{}",
|
||||
std::process::id(),
|
||||
Instant::now().elapsed().as_nanos()
|
||||
|
|
|
|||
Loading…
Reference in a new issue