summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/utility/misc.c
diff options
context:
space:
mode:
authorLuke Chen <luke.chen@mongodb.com>2022-03-21 18:07:06 +1100
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-03-21 07:38:35 +0000
commit5f68f5a6bda3554c45ba8d08882b08ec733f8b34 (patch)
tree6e16ff0cdfa7ca4bd68c7454ee87e09e27fb9d5e /src/third_party/wiredtiger/test/utility/misc.c
parent8a414c5bbec960b85715314724a9973950619623 (diff)
downloadmongo-5f68f5a6bda3554c45ba8d08882b08ec733f8b34.tar.gz
Import wiredtiger: 0fba36461d811703eb4e047ce0673032b4f638b1 from branch mongodb-master
ref: c833fd913a..0fba36461d for: 6.0.0 WT-8835 Allow relative directory to be passed into -b option in tiered_abort test
Diffstat (limited to 'src/third_party/wiredtiger/test/utility/misc.c')
-rw-r--r--src/third_party/wiredtiger/test/utility/misc.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/third_party/wiredtiger/test/utility/misc.c b/src/third_party/wiredtiger/test/utility/misc.c
index f61a429fafd..9e9c11e0a3c 100644
--- a/src/third_party/wiredtiger/test/utility/misc.c
+++ b/src/third_party/wiredtiger/test/utility/misc.c
@@ -145,11 +145,12 @@ testutil_clean_work_dir(const char *dir)
void
testutil_build_dir(TEST_OPTS *opts, char *buf, int size)
{
- /* To keep it simple, in order to get the build directory we require the user to set the build
- * directory from the command line options.
- * We unfortunately can't depend on a known/constant build directory (the user could have
- * multiple out-of-source build directories). There's also not really any OS-agnostic mechanisms
- * we can here use to discover the build directory the calling test binary exists in.
+ /*
+ * To keep it simple, in order to get the build directory we require the user to set the build
+ * directory from the command line options. We unfortunately can't depend on a known/constant
+ * build directory (the user could have multiple out-of-source build directories). There's also
+ * not really any OS-agnostic mechanisms we can here use to discover the build directory the
+ * calling test binary exists in.
*/
if (opts->build_dir == NULL)
testutil_die(ENOENT, "No build directory given");