Index: tests/fullrun/megatest.config
==================================================================
--- tests/fullrun/megatest.config
+++ tests/fullrun/megatest.config
@@ -32,11 +32,13 @@
 # and set the dbdir to /var/tmp/$USER/mt_db to enable keeping
 # the raw db in /var/tmp/$USER
 #
 faststart  no
 monitordir #{getenv MT_RUN_AREA_HOME}/db
-dbdir      #{scheme (create-directory "/tmp/#{getenv USER}/#{getenv MT_TESTSUITE_NAME}/db")}
+dbdirdefn  /tmp/#{getenv USER}/#{getenv MT_TESTSUITE_NAME}/db
+dbdirmkdir #{scheme (create-directory "#{get setup dbdirdefn}" #t)}
+dbdir      #{get setup dbdirdefn}
 
 # sync more aggressively to megatest-db
 megatest-db yes
 
 # Set launchwait to no to use the more agressive code that does not wait for the launch to complete before proceeding