summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2016-03-24 16:29:22 -0400
committerKeith Bostic <keith@wiredtiger.com>2016-03-24 16:29:22 -0400
commit5f5ccea1371f1781d0f3eebee0e876e6884d5506 (patch)
tree25bf3310f8ec09834345362fca1dcd59096684e5 /test
parent083aad4eafa31428925e118ccfa3e1bb0fc560a4 (diff)
downloadmongo-5f5ccea1371f1781d0f3eebee0e876e6884d5506.tar.gz
WT-2330: in-memory configurations should not create on-disk collection files
Convert the Windows sources to the new structure. Create a new function __wt_win32_errno(), which returns the value from GetLastError(), review all Win32 calls to check which should return __wt_win32_errno() and which should return __wt_errno(). Fix a bug where a NULL pointer could be printed in the POSIX and Windows directory-list functions. Rework the changes in __wt_eventv(), I added code using a WT_SESSION handle in the code-path specifically not supposed to use a WT_SESSION handle. For now, hard-code calls using stdio and stderr. Change the utility function's Windows mkdir command to ignore ENOENT.
Diffstat (limited to 'test')
-rw-r--r--test/utility/test_util.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/utility/test_util.i b/test/utility/test_util.i
index f9b889a7610..43982d9e4a1 100644
--- a/test/utility/test_util.i
+++ b/test/utility/test_util.i
@@ -132,7 +132,7 @@ testutil_clean_work_dir(char *dir)
snprintf(buf, len, "%s%s", RM_COMMAND, dir);
- if ((ret = system(buf)) != 0)
+ if ((ret = system(buf)) != 0 && ret != ENOENT)
testutil_die(ret, "%s", buf);
free(buf);
}