many pervasive clean-ups
[feisty_meow.git] / nucleus / library / tests_filesystem / test_directory_tree.cpp
index d6136becfd693d9f2918520c27311888f329eb80..77b32a3737b362446b325a407c4332e1cc595567 100644 (file)
@@ -197,7 +197,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("GENERATED_DIR") + "/zz_balfazzaral");
+    filename tmpdir(environment::get("GENERATED_STORE") + "/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");
@@ -216,7 +216,7 @@ LOG("what happened with that?  did it work?");
 
 //hmmm: plug in real recursive delete here instead.
 basis::un_int kid;
-launch_process::run("/usr/bin/rm", astring("-rf ") + tmpdir.raw(), launch_process::AWAIT_APP_EXIT, kid);
+launch_process::run("/bin/rm", astring("-rf ") + tmpdir.raw(), launch_process::AWAIT_APP_EXIT, kid);
 ASSERT_FALSE(kid, "removing temporary files after test");
 
   }