From 85d19114f8615cc6f05237156abf77d5f64cf5fb Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Tue, 10 Jul 2012 11:01:30 -0400 Subject: [PATCH] new attempt creates temp directory, since we're being given a bogus one by jenkins. --- nucleus/library/tests_filesystem/test_byte_filer.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.34.1