mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
Revert test directory cleaning change.
This commit is contained in:
parent
22a8715a8b
commit
00822903bb
@ -28,10 +28,7 @@ lazy_static! {
|
|||||||
}
|
}
|
||||||
|
|
||||||
path.push(CARGO_INTEGRATION_TEST_DIR);
|
path.push(CARGO_INTEGRATION_TEST_DIR);
|
||||||
|
|
||||||
path.rm_rf();
|
|
||||||
path.mkdir_p();
|
path.mkdir_p();
|
||||||
|
|
||||||
path
|
path
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -62,7 +59,9 @@ pub fn init_root() -> TestIdGuard {
|
|||||||
|
|
||||||
let guard = TestIdGuard { _private: () };
|
let guard = TestIdGuard { _private: () };
|
||||||
|
|
||||||
root().mkdir_p();
|
let r = root();
|
||||||
|
r.rm_rf();
|
||||||
|
r.mkdir_p();
|
||||||
|
|
||||||
guard
|
guard
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user