update io test to use tmp directory, and update configure to create it
This commit is contained in:
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;
|
||||||
|
|||||||
Reference in New Issue
Block a user