Summary: If autotest is not running with the --continue flag, delete
the state file transparently

For quite a while, people developing tests had problems when they had
to interrupt a given test before it ends: it's not possible to
guarantee the consistency of the state file, hence the next time the
test is executed, an exception is thrown. The workaround is, of
course, remove the state file allways. However, as Martin pointed out,
when autotest is not running with the flag -c or --continue, we can
just remove the previously left state file to make this process
transparent to the test developer.

Signed-off-by: Lucas Meneghel Rodrigues <lookkas@gmail.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3112 592f7852-d20e-0410-864c-8624ca9c26a4
1 file changed