i am interested in writing upgrade tests.  we fixed a bug in our storage engine that executed some upgrade code for tables created in a prior version of our software.  i would like to test this bug fix by running the new software on a data directory from the prior release.  any suggestions on how to approach this?
thanks



On Fri, Apr 5, 2013 at 4:29 PM, Reindl Harald <h.reindl@thelounge.net> wrote:

Am 05.04.2013 22:24, schrieb Rich Prohaska:
> I was wondering if there was a way to run a mysql-test on with a prebuilt data directory.  If so, can you point me
> to some example?

i can not imageine how this could work

a automated test is based on a specific state of whatever
followed by a action and defined state after the action

if you have a unknown state of the data directory you
would have predictable results