mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-16 17:03:35 +00:00
update io test to use tmp directory, and update configure to create it
This commit is contained in:
parent
4817222102
commit
21ffc55e57
2
configure
vendored
2
configure
vendored
@ -349,7 +349,7 @@ step_msg "making directories"
|
|||||||
for i in \
|
for i in \
|
||||||
doc doc/std \
|
doc doc/std \
|
||||||
nd nd/std \
|
nd nd/std \
|
||||||
dl
|
dl tmp
|
||||||
do
|
do
|
||||||
make_dir $i
|
make_dir $i
|
||||||
done
|
done
|
||||||
|
@ -6,7 +6,7 @@ import std::result;
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_simple() {
|
fn test_simple() {
|
||||||
let tmpfile: str = "test/run-pass/lib-io-test-simple.tmp";
|
let tmpfile: str = "tmp/lib-io-test-simple.tmp";
|
||||||
log tmpfile;
|
log tmpfile;
|
||||||
let frood: str = "A hoopy frood who really knows where his towel is.";
|
let frood: str = "A hoopy frood who really knows where his towel is.";
|
||||||
log frood;
|
log frood;
|
||||||
|
Loading…
Reference in New Issue
Block a user