update io test to use tmp directory, and update configure to create it

This commit is contained in:
Niko Matsakis 2011-11-23 15:49:50 -08:00
parent 4817222102
commit 21ffc55e57
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -349,7 +349,7 @@ step_msg "making directories"
for i in \
doc doc/std \
nd nd/std \
dl
dl tmp
do
make_dir $i
done

View File

@ -6,7 +6,7 @@ import std::result;
#[test]
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;
let frood: str = "A hoopy frood who really knows where his towel is.";
log frood;