diff options
author | Russ Allbery <rra@stanford.edu> | 2007-08-30 17:51:36 +0000 |
---|---|---|
committer | Russ Allbery <rra@stanford.edu> | 2007-08-30 17:51:36 +0000 |
commit | 0ec04f853bd1a436b33ddad0feac10e61c791f39 (patch) | |
tree | 8727c03c060ef028a8f2180030b002c37e021a54 /perl/t/schema.t | |
parent | 6d261d9e2b4e95f8d538f47730a25a6d82d34134 (diff) |
Unlink the database before creating it to protect against previous test
failures.
Diffstat (limited to 'perl/t/schema.t')
-rwxr-xr-x | perl/t/schema.t | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl/t/schema.t b/perl/t/schema.t index e97dfc6..e326dca 100755 --- a/perl/t/schema.t +++ b/perl/t/schema.t @@ -17,6 +17,7 @@ ok (@sql > 0, 'sql() returns something'); is (scalar (@sql), 22, ' and returns the right number of statements'); # Create a SQLite database to use for create. +unlink 'wallet-db'; my $dbh = DBI->connect ("DBI:SQLite:wallet-db"); if (not defined $dbh) { die "cannot create database wallet-db: $DBI::errstr\n"; |