From: Chris Koeritz Date: Tue, 10 Jul 2012 15:01:30 +0000 (-0400) Subject: new attempt creates temp directory, since we're being given a bogus one by jenkins. X-Git-Tag: 2.140.90~1289 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=85d19114f8615cc6f05237156abf77d5f64cf5fb;p=feisty_meow.git new attempt creates temp directory, since we're being given a bogus one by jenkins. --- diff --git a/nucleus/library/tests_filesystem/test_byte_filer.cpp b/nucleus/library/tests_filesystem/test_byte_filer.cpp index 0bf0ff1a..de5c895c 100644 --- a/nucleus/library/tests_filesystem/test_byte_filer.cpp +++ b/nucleus/library/tests_filesystem/test_byte_filer.cpp @@ -65,6 +65,8 @@ const astring &TEST_FILE() if (!__hidden_filename) { __hidden_filename = environment::get("TMP"); if (!__hidden_filename) __hidden_filename = "/tmp"; + // try to create it just in case it wasn't there already. + directory::make_directory(__hidden_filename); __hidden_filename += TEST_FILE_BASE; __hidden_filename += a_sprintf("%d", chaos().inclusive(0, 65535)); __hidden_filename += TEST_FILE_SUFFIX;