fixing loose paths.
[feisty_meow.git] / nucleus / library / tests_filesystem / test_directory_tree.cpp
index f0a84671604fd6153bbe54fadded32ebd148e910..d413f67df9d01c1ce2dbbf8f3e201d2b6119f109 100644 (file)
@@ -195,7 +195,7 @@ LOG(diffs.text_form());
 LOG("reading tree to recreate");
     directory_tree dir(path, pattern.s());
     ASSERT_TRUE(dir.good(), "makedirs test directory reading");
-    filename tmpdir(environment::get("TMP") + "/zz_balfazzaral");
+    filename tmpdir(environment::get("GENERATED_DIR") + "/zz_balfazzaral");
     LOG(astring("will write to tmp in ") + tmpdir);
     basis::outcome result = dir.make_directories(tmpdir.raw());
     ASSERT_EQUAL(result.value(), common::OKAY, "makedirs should succeed");