[qmtest] BUG? create-tdb overwrites existing database

Mark Mitchell mark at codesourcery.com
Mon Jan 12 22:35:35 UTC 2004


On Thu, 2004-01-08 at 09:06, Scott Lowrey wrote:
> I'm wondering if the 'qmtest create-tdb' command should prompt before
> creating a database where one lives already.  Although the existing
> database hierarchy is not afftected, the QMTest/configuration file is
> overwritten.  Wouldn't this be potentially damaging?

Yes -- but it's also the mechanism for updating an existing database.

The command-line version of QMTest never prompts for anything, although
maybe it should.  Clearly, it should do that only when the standard
input is a TTY, and I don't know how to figure that out under Windows. 
Does anybody here know that, by chance?

-- 
Mark Mitchell <mark at codesourcery.com>
CodeSourcery, LLC




More information about the qmtest mailing list