+ {
+ // sixth test: see if the make_directories function works.
+LOG("reading tree to recreate");
+ directory_tree dir(path, pattern.s());
+ ASSERT_TRUE(dir.good(), "makedirs test directory reading");
+ filename tmpdir(environment::get("FEISTY_MEOW_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");
+
+
+LOG("what happened with that? did it work?");
+
+//hmmm: compare the directories with what we expect to be made;
+// do a dirtree iterator on the path, and make sure each of those exists in the target place.
+
+
+ // clean up the output directory.
+//this won't do it; it's a directory!
+// bool worked = tmpdir.recursive_unlink();
+// ASSERT_TRUE(worked, "removing temporary files after test");
+
+//hmmm: plug in real recursive delete here instead.
+basis::un_int kid;
+launch_process::run("/bin/rm", astring("-rf ") + tmpdir.raw(), launch_process::AWAIT_APP_EXIT, kid);
+ASSERT_FALSE(kid, "removing temporary files after test");
+
+ }
+
+