blob: 4554680ec2470adcde055d03b783e55efa1aeb4f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// run-pass
use std::env;
use std::fs;
use std::path::PathBuf;
fn main() {
let path = PathBuf::from(env::var_os("RUST_TEST_TMPDIR").unwrap());
env::set_current_dir(&path).unwrap();
fs::create_dir_all("create-dir-all-bare").unwrap();
}
|