projects
/
dbsrgits/DBIx-Class-Schema-Loader.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Restructure handling of the test scratch-dir, move all activity
[dbsrgits/DBIx-Class-Schema-Loader.git]
/
t
/
backcompat
/
0.04006
/
lib
/
make_dbictest_db.pm
diff --git
a/t/backcompat/0.04006/lib/make_dbictest_db.pm
b/t/backcompat/0.04006/lib/make_dbictest_db.pm
index
d9a8083
..
0aba796
100644
(file)
--- a/
t/backcompat/0.04006/lib/make_dbictest_db.pm
+++ b/
t/backcompat/0.04006/lib/make_dbictest_db.pm
@@
-3,11
+3,12
@@
package make_dbictest_db;
use strict;
use warnings;
use DBI;
+use dbixcsl_test_dir qw/$tdir/;
eval { require DBD::SQLite };
my $class = $@ ? 'SQLite2' : 'SQLite';
-my $fn = './t/dbictest.db';
+my $fn = "$tdir/dbictest.db";
unlink($fn);
our $dsn = "dbi:$class:dbname=$fn";